Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007088/0.0007088, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.00105/0.00105, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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.8555/0.8555, allocations: 230.6 MB / 256.8 MB, free: 3.453 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7312/0.7312, allocations: 203.8 MB / 0.5049 GB, free: 0.6992 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008018/0.0008018, allocations: 70.05 kB / 0.7195 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4467, allocations: 102 MB / 0.8191 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001924/0.4486, allocations: 1.471 MB / 0.8205 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002327/0.4488, allocations: 95.75 kB / 0.8206 GB, free: 13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.4489, allocations: 0 / 0.8206 GB, free: 13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.4489, allocations: 0 / 0.8206 GB, free: 13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.4489, allocations: 7.875 kB / 0.8206 GB, free: 13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.4491, allocations: 19.95 kB / 0.8206 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.135e-05/0.4492, allocations: 31.86 kB / 0.8207 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.4493, allocations: 4 kB / 0.8207 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.4493, allocations: 8 kB / 0.8207 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.705e-05/0.4493, allocations: 15.92 kB / 0.8207 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.4494, allocations: 4 kB / 0.8207 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.132e-05/0.4494, allocations: 15.98 kB / 0.8207 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.4494, allocations: 4 kB / 0.8207 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.4494, allocations: 11.94 kB / 0.8207 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.891e-05/0.4495, allocations: 35.67 kB / 0.8208 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4495, allocations: 3.938 kB / 0.8208 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4495, allocations: 0 / 0.8208 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.4496, allocations: 0 / 0.8208 GB, free: 12.85 MB / 0.6042 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.0003244/0.4499, allocations: 277.1 kB / 0.821 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.4499, allocations: 13.41 kB / 0.821 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.45, allocations: 12.92 kB / 0.8211 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.348e-05/0.4501, allocations: 114.5 kB / 0.8212 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4501, allocations: 384 / 0.8212 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.4501, allocations: 384 / 0.8212 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.4502, allocations: 54.23 kB / 0.8212 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4502, allocations: 7.938 kB / 0.8212 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.4503, allocations: 0 / 0.8212 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4503, allocations: 4 kB / 0.8212 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.4504, allocations: 47.94 kB / 0.8213 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.4506, allocations: 235.9 kB / 0.8215 GB, free: 12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.312e-05/0.4507, allocations: 58.48 kB / 0.8216 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.4508, allocations: 28.89 kB / 0.8216 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.4508, allocations: 0 / 0.8216 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.4508, allocations: 34.56 kB / 0.8216 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 4.81e-07/0.4508, allocations: 0 / 0.8216 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002281/0.4511, allocations: 109.5 kB / 0.8217 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.4511, allocations: 51.41 kB / 0.8218 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.4513, allocations: 105.8 kB / 0.8219 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.4513, allocations: 25.7 kB / 0.8219 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.4513, allocations: 88.14 kB / 0.822 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.4513, allocations: 3.953 kB / 0.822 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.4514, allocations: 21.83 kB / 0.822 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.4514, allocations: 314.8 kB / 0.8223 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.954e-05/0.4515, allocations: 20.22 kB / 0.8223 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.4515, allocations: 19.98 kB / 0.8223 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.202e-05/0.4516, allocations: 60.88 kB / 0.8224 GB, free: 11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4516, allocations: 7.875 kB / 0.8224 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001135/0.4517, allocations: 85.58 kB / 0.8225 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.4517, allocations: 4 kB / 0.8225 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4517, allocations: 0 / 0.8225 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4517, allocations: 0 / 0.8225 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.4518, allocations: 16.02 kB / 0.8225 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.4518, allocations: 0 / 0.8225 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.4518, allocations: 11.94 kB / 0.8225 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.4518, allocations: 4 kB / 0.8225 GB, free: 10.87 MB / 0.6042 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 4.842e-05/0.4519, allocations: 118.7 kB / 0.8226 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.4519, allocations: 0 / 0.8226 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.4519, allocations: 11.58 kB / 0.8227 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.11e-07/0.4519, allocations: 0 / 0.8227 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4519, allocations: 0 / 0.8227 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4519, allocations: 4 kB / 0.8227 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.378e-05/0.452, allocations: 144.7 kB / 0.8228 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.452, allocations: 3.984 kB / 0.8228 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.4521, allocations: 8 kB / 0.8228 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4521, allocations: 3.984 kB / 0.8228 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.4521, allocations: 0 / 0.8228 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.4521, allocations: 3.938 kB / 0.8228 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4521, allocations: 0 / 0.8228 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.4522, allocations: 175.5 kB / 0.823 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-06/0.4522, allocations: 7.938 kB / 0.823 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-06/0.4522, allocations: 4 kB / 0.823 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.4523, allocations: 4 kB / 0.823 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.4523, allocations: 7.984 kB / 0.823 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.4523, allocations: 0 / 0.823 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.4523, allocations: 87.31 kB / 0.8231 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4523, allocations: 0 / 0.8231 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001412/0.4525, allocations: 4 kB / 0.8231 GB, free: 10.22 MB / 0.6042 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 7.091e-05/0.4525, allocations: 95.23 kB / 0.8232 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.4527, allocations: 51.89 kB / 0.8232 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.4527, allocations: 64 / 0.8232 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.988e-05/0.4527, allocations: 31.97 kB / 0.8233 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.4529, allocations: 14.31 kB / 0.8233 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.4531, allocations: 151.1 kB / 0.8234 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.4533, allocations: 0.6768 MB / 0.8241 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.4533, allocations: 7.5 kB / 0.8241 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.4533, allocations: 7.938 kB / 0.8241 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of Templates: time 0.001338/0.4546, allocations: 0.652 MB / 0.8247 GB, free: 8.488 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.414126432035118] Failed to read output from testmodel.py, exit status != 0: 0.4594723111949861 0.46697201400000005 0.015842484 Calling exit ...