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.001257/0.001257, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001491/0.001491, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.192/1.192, allocations: 154.6 MB / 413.8 MB, free: 5.242 MB / 382.1 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 178] 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 2.154e-06/2.154e-06, allocations: 0 / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.142e-05, allocations: 4.391 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.003263/0.003294, allocations: 1.496 MB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003753/0.00367, allocations: 116.2 kB / 0.6202 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.003717, allocations: 4 kB / 0.6202 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/0.00377, allocations: 4 kB / 0.6202 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.003845, allocations: 11.86 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.004104, allocations: 23.97 kB / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.004226, allocations: 43.84 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.004342, allocations: 8 kB / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.646e-05/0.004428, allocations: 27.91 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.004485, allocations: 15.92 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.004509, allocations: 4 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.719e-05/0.004596, allocations: 23.98 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.004656, allocations: 15.92 kB / 0.6203 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.004687, allocations: 11.98 kB / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.004866, allocations: 67.78 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004869, allocations: 0 / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.72e-07/0.00487, allocations: 0 / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.004876, allocations: 0 / 0.6204 GB, free: 2.707 MB / 0.5294 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.0006296/0.005506, allocations: 306 kB / 0.6207 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.005546, allocations: 8.031 kB / 0.6207 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.005592, allocations: 12.89 kB / 0.6207 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.005733, allocations: 113.7 kB / 0.6208 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.005742, allocations: 4.312 kB / 0.6208 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.00576, allocations: 8.375 kB / 0.6208 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.006096, allocations: 74.16 kB / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006107, allocations: 192 / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.006117, allocations: 384 / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.006127, allocations: 8.359 kB / 0.6209 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.006441, allocations: 79.84 kB / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.006831, allocations: 224.6 kB / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.007064, allocations: 66.53 kB / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.00723, allocations: 48.78 kB / 0.6213 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.007449, allocations: 35.97 kB / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.007482, allocations: 34.56 kB / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.007483, allocations: 0 / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006003/0.008084, allocations: 149.5 kB / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.008127, allocations: 55.41 kB / 0.6216 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.008257, allocations: 129.3 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.008276, allocations: 29.7 kB / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.008338, allocations: 92.12 kB / 0.6218 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.00836, allocations: 7.906 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.008402, allocations: 17.72 kB / 0.6218 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.008546, allocations: 318.8 kB / 0.6222 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.008704, allocations: 39.91 kB / 0.6222 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.008853, allocations: 39.95 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.009208, allocations: 76.78 kB / 0.6223 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.009211, allocations: 0 / 0.6223 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003763/0.009587, allocations: 113.6 kB / 0.6224 GB, free: 496 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.009608, allocations: 10.28 kB / 0.6224 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.009616, allocations: 3.984 kB / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.009636, allocations: 0 / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.009764, allocations: 15.98 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.009772, allocations: 3.938 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.009854, allocations: 11.98 kB / 0.6225 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.009862, allocations: 0 / 0.6225 GB, free: 452 kB / 0.5294 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 0.0001081/0.00997, allocations: 123.7 kB / 0.6226 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.01, allocations: 7.953 kB / 0.6226 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.01041, allocations: 121.5 kB / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01041, allocations: 0 / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01042, allocations: 0 / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01042, allocations: 0 / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.01059, allocations: 125.3 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01059, allocations: 0 / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.01069, allocations: 15.98 kB / 0.6228 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01069, allocations: 4.484 kB / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.0107, allocations: 112 / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.36e-05/0.01072, allocations: 4.25 kB / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01072, allocations: 7.875 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.01114, allocations: 211.4 kB / 0.623 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.01115, allocations: 7.891 kB / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.01117, allocations: 4 kB / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.01128, allocations: 19.91 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.01133, allocations: 4 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.01134, allocations: 4 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.183e-05/0.01141, allocations: 95.27 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01141, allocations: 0 / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002342/0.01164, allocations: 11.98 kB / 0.6232 GB, free: 15.62 MB / 0.545 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 0.0001906/0.01184, allocations: 95.25 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.01222, allocations: 87.86 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01222, allocations: 0 / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.01239, allocations: 39.95 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.01266, allocations: 11.91 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.01309, allocations: 152.7 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.959e-05/0.01317, allocations: 71.33 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.0132, allocations: 4 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.01323, allocations: 8.5 kB / 0.6236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of SimCode: time 7.02e-07/0.01323, allocations: 0 / 0.6236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of Templates: time 0.003884/0.01711, allocations: 0.8459 MB / 0.6245 GB, free: 14.27 MB / 0.545 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.71514431014657] Failed to read output from testmodel.py, exit status != 0: 0.02629682421684265 0.041984248 0.033889935 Calling exit ...