Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.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.0008317/0.0008317, 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.0008628/0.0008628, allocations: 178.2 kB / 23.22 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.8398/0.8398, 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.699/0.699, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.857e-05, allocations: 9.516 kB / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001619/0.001638, allocations: 1.47 MB / 0.6208 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002207/0.001858, allocations: 79.83 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.00189, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.001917, allocations: 3.938 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.922e-05/0.001956, allocations: 7.938 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.002149, allocations: 27.89 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.935e-05/0.002218, allocations: 19.94 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.002304, allocations: 7.984 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.002353, allocations: 15.94 kB / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.509e-05/0.002388, allocations: 11.92 kB / 0.6209 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.002404, allocations: 4 kB / 0.6209 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.002457, allocations: 15.98 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.002469, allocations: 0 / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.002488, allocations: 11.98 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.002592, allocations: 39.81 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002594, allocations: 4 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002595, allocations: 0 / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002598, allocations: 0 / 0.621 GB, free: 11.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000334/0.002932, allocations: 270.3 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.002966, allocations: 8.031 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.003076, allocations: 12.92 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.99e-05/0.003146, allocations: 109.8 kB / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.003164, allocations: 384 / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.003174, allocations: 4.375 kB / 0.6214 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.003304, allocations: 66.14 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.00331, allocations: 192 / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.003319, allocations: 4.375 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.003324, allocations: 384 / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.003435, allocations: 47.89 kB / 0.6215 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.003703, allocations: 208.6 kB / 0.6217 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.003809, allocations: 54.48 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.003863, allocations: 24.91 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.003877, allocations: 4 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.003894, allocations: 38.55 kB / 0.6218 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.003895, allocations: 0 / 0.6218 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002447/0.004139, allocations: 105.7 kB / 0.6219 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.004166, allocations: 51.41 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.004222, allocations: 101.9 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.004232, allocations: 25.7 kB / 0.6221 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.004269, allocations: 88.12 kB / 0.6222 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.004286, allocations: 7.891 kB / 0.6222 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.004313, allocations: 21.72 kB / 0.6222 GB, free: 10 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.004384, allocations: 310.8 kB / 0.6225 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-05/0.004438, allocations: 27.97 kB / 0.6225 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.004485, allocations: 28 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.73e-05/0.004582, allocations: 52.75 kB / 0.6226 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004584, allocations: 0 / 0.6226 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.004703, allocations: 77.7 kB / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.004718, allocations: 12 kB / 0.6227 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.004724, allocations: 3.938 kB / 0.6227 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.004734, allocations: 3.938 kB / 0.6227 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.004798, allocations: 15.92 kB / 0.6227 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.004802, allocations: 0 / 0.6227 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.004829, allocations: 7.984 kB / 0.6227 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.004833, allocations: 256 / 0.6227 GB, free: 9.453 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 (2): * Single equations (assignments): 2 * 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.274e-05/0.004886, allocations: 118.8 kB / 0.6228 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.004897, allocations: 4 kB / 0.6228 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.004923, allocations: 15.5 kB / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.004925, allocations: 4 kB / 0.6229 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.00493, allocations: 4 kB / 0.6229 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.004932, allocations: 0 / 0.6229 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.632e-05/0.005019, allocations: 109.3 kB / 0.623 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005019, allocations: 4 kB / 0.623 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.005049, allocations: 11.98 kB / 0.623 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.005051, allocations: 4 kB / 0.623 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.005057, allocations: 0 / 0.623 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.005059, allocations: 3.938 kB / 0.623 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005059, allocations: 4 kB / 0.623 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.005206, allocations: 179.4 kB / 0.6232 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.005211, allocations: 0 / 0.6232 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.005223, allocations: 4 kB / 0.6232 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.224e-05/0.005265, allocations: 11.92 kB / 0.6232 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.005297, allocations: 0 / 0.6232 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.005299, allocations: 0 / 0.6232 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.794e-05/0.005327, allocations: 95.3 kB / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005327, allocations: 0 / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001423/0.005469, allocations: 4 kB / 0.6233 GB, free: 8.832 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 (2): * Single equations (assignments): 2 * 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 6.351e-05/0.005533, allocations: 91.25 kB / 0.6234 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.00568, allocations: 47.95 kB / 0.6234 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.005681, allocations: 0 / 0.6234 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.005736, allocations: 35.97 kB / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.00591, allocations: 7.938 kB / 0.6235 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.006157, allocations: 146.6 kB / 0.6236 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.057e-05/0.006198, allocations: 59.34 kB / 0.6237 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.006226, allocations: 12.5 kB / 0.6237 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.006227, allocations: 0 / 0.6237 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of Templates: time 0.001376/0.007603, allocations: 0.6534 MB / 0.6243 GB, free: 7.727 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.836352961137891] Failed to read output from testmodel.py, exit status != 0: 0.012342294678092003 0.019918897 0.015641736 Calling exit ...