Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007623/0.0007623, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007805/0.0007805, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8673/0.8673, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7133/0.7133, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.481e-05, allocations: 6.688 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001613/0.001628, allocations: 1.495 MB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002326/0.001861, allocations: 111.6 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.001889, allocations: 0 / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.001928, allocations: 3.938 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.001976, allocations: 11.92 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.002173, allocations: 23.91 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.002244, allocations: 51.78 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.871e-05/0.002322, allocations: 8 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.002372, allocations: 23.97 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.00241, allocations: 11.98 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.002426, allocations: 7.938 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.002477, allocations: 19.98 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.002517, allocations: 19.91 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.002536, allocations: 11.94 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.002646, allocations: 55.86 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.002647, allocations: 4 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.02e-07/0.002648, allocations: 0 / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.002652, allocations: 4 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003521/0.003004, allocations: 306 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.003037, allocations: 8.031 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.00307, allocations: 8.891 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.003145, allocations: 125.7 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.003154, allocations: 384 / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.003163, allocations: 8.375 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.003321, allocations: 70.22 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003327, allocations: 4.188 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.003335, allocations: 384 / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.003339, allocations: 384 / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.003481, allocations: 75.86 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.003734, allocations: 228.5 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.003849, allocations: 74.47 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.003923, allocations: 40.91 kB / 0.6221 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.004056, allocations: 31.97 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.004073, allocations: 34.56 kB / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.004074, allocations: 0 / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003034/0.004378, allocations: 153.5 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.004406, allocations: 51.41 kB / 0.6223 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.004479, allocations: 133.8 kB / 0.6225 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.004488, allocations: 25.7 kB / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.004529, allocations: 92.09 kB / 0.6226 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.004546, allocations: 11.94 kB / 0.6226 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.004572, allocations: 17.72 kB / 0.6226 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.004645, allocations: 314.8 kB / 0.6229 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.004717, allocations: 39.95 kB / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.004781, allocations: 36.14 kB / 0.623 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.004915, allocations: 84.86 kB / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.004916, allocations: 0 / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001672/0.005083, allocations: 113.5 kB / 0.6232 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.005094, allocations: 7.938 kB / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.005098, allocations: 0 / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005108, allocations: 0 / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.005182, allocations: 23.97 kB / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005187, allocations: 4 kB / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.005222, allocations: 15.92 kB / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.005229, allocations: 3.938 kB / 0.6232 GB, free: 9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/0.005287, allocations: 114.8 kB / 0.6233 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.0053, allocations: 7.953 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.00549, allocations: 121.5 kB / 0.6234 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.005491, allocations: 4 kB / 0.6234 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.005494, allocations: 0 / 0.6234 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005496, allocations: 0 / 0.6234 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.046e-05/0.005587, allocations: 125.3 kB / 0.6236 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005588, allocations: 3.938 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.005623, allocations: 11.98 kB / 0.6236 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.005625, allocations: 4 kB / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.005631, allocations: 0 / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.005633, allocations: 3.938 kB / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005634, allocations: 0 / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.005814, allocations: 211.4 kB / 0.6238 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.005821, allocations: 3.938 kB / 0.6238 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.005831, allocations: 0 / 0.6238 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.833e-05/0.00588, allocations: 15.92 kB / 0.6238 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.005917, allocations: 7.984 kB / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.00592, allocations: 4 kB / 0.6238 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.487e-05/0.005955, allocations: 98.02 kB / 0.6239 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005955, allocations: 4 kB / 0.6239 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001466/0.006102, allocations: 8 kB / 0.6239 GB, free: 8.203 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.514e-05/0.006187, allocations: 103.2 kB / 0.624 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.006612, allocations: 79.92 kB / 0.6241 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006613, allocations: 0 / 0.6241 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.006682, allocations: 43.95 kB / 0.6241 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.006842, allocations: 9.875 kB / 0.6242 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.007104, allocations: 178.5 kB / 0.6243 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/0.007148, allocations: 71.33 kB / 0.6244 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.007171, allocations: 12.5 kB / 0.6244 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of SimCode: time 3.5e-07/0.007171, allocations: 0 / 0.6244 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of Templates: time 0.001656/0.008827, allocations: 0.9298 MB / 0.6253 GB, free: 6.73 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.141481193713844] Failed to read output from testmodel.py, exit status != 0: 0.013250554911792278 0.02058810499999994 0.016441639999999938 Calling exit ...