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.0008134/0.0008134, allocations: 104.4 kB / 19.7 MB, free: 308 kB / 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.0009976/0.0009976, allocations: 205.6 kB / 22.99 MB, free: 1.656 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.8594/0.8594, allocations: 230.6 MB / 256.8 MB, free: 3.238 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.7501/0.7501, allocations: 203.8 MB / 0.5049 GB, free: 452 kB / 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.0009717/0.0009717, allocations: 67.91 kB / 0.7194 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4732, allocations: 102 MB / 0.819 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002236/0.4754, allocations: 1.452 MB / 0.8204 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002957/0.4757, allocations: 99.61 kB / 0.8205 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.4757, allocations: 0.7188 kB / 0.8205 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.4758, allocations: 9.312 kB / 0.8205 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.299e-05/0.4758, allocations: 6.031 kB / 0.8205 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.4761, allocations: 15.55 kB / 0.8206 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.4761, allocations: 25.83 kB / 0.8206 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4762, allocations: 4.266 kB / 0.8206 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.923e-05/0.4763, allocations: 12.39 kB / 0.8206 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.4763, allocations: 18.2 kB / 0.8206 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.4763, allocations: 4.25 kB / 0.8206 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.4764, allocations: 12.27 kB / 0.8206 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.4764, allocations: 5.781 kB / 0.8206 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.4764, allocations: 11.36 kB / 0.8206 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.4766, allocations: 30.72 kB / 0.8207 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4766, allocations: 1.656 kB / 0.8207 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4766, allocations: 0 / 0.8207 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.4766, allocations: 3.094 kB / 0.8207 GB, free: 23.8 MB / 0.6355 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.0003338/0.4769, allocations: 271.6 kB / 0.8209 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.477, allocations: 11.48 kB / 0.8209 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.4771, allocations: 13.44 kB / 0.821 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.07e-05/0.4772, allocations: 114.8 kB / 0.8211 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.4772, allocations: 3.312 kB / 0.8211 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4772, allocations: 5.375 kB / 0.8211 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.4774, allocations: 55.98 kB / 0.8211 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.4774, allocations: 0.6875 kB / 0.8211 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4774, allocations: 5.25 kB / 0.8211 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4774, allocations: 1.25 kB / 0.8211 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.4775, allocations: 52.52 kB / 0.8212 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.4778, allocations: 210.8 kB / 0.8214 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4779, allocations: 56.62 kB / 0.8214 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.478, allocations: 28.05 kB / 0.8215 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.478, allocations: 4.625 kB / 0.8215 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.478, allocations: 37.17 kB / 0.8215 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.478, allocations: 0.5 kB / 0.8215 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.00029/0.4783, allocations: 98.45 kB / 0.8216 GB, free: 23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.4784, allocations: 56.8 kB / 0.8217 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/0.4784, allocations: 112.4 kB / 0.8218 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.4784, allocations: 29.7 kB / 0.8218 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.4784, allocations: 81.86 kB / 0.8219 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.4785, allocations: 5.406 kB / 0.8219 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.4785, allocations: 17.55 kB / 0.8219 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.31e-05/0.4785, allocations: 313.2 kB / 0.8222 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.4786, allocations: 24.19 kB / 0.8222 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.4787, allocations: 25.06 kB / 0.8222 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.4788, allocations: 59.75 kB / 0.8223 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4788, allocations: 0 / 0.8223 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001548/0.4789, allocations: 82.67 kB / 0.8224 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4789, allocations: 4.656 kB / 0.8224 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.479, allocations: 1.188 kB / 0.8224 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.479, allocations: 1.094 kB / 0.8224 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.4791, allocations: 18.05 kB / 0.8224 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4791, allocations: 2.188 kB / 0.8224 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.4791, allocations: 11.56 kB / 0.8224 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4791, allocations: 5.203 kB / 0.8224 GB, free: 22.29 MB / 0.6355 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.4e-05/0.4791, allocations: 109.9 kB / 0.8225 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.4792, allocations: 5.125 kB / 0.8225 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.4792, allocations: 13.42 kB / 0.8225 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4792, allocations: 0.5156 kB / 0.8225 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4792, allocations: 0.5625 kB / 0.8225 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4792, allocations: 5.859 kB / 0.8225 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.342e-05/0.4793, allocations: 106 kB / 0.8226 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4793, allocations: 0.9062 kB / 0.8226 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.4793, allocations: 11.12 kB / 0.8227 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4793, allocations: 4.719 kB / 0.8227 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.4793, allocations: 4.562 kB / 0.8227 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4793, allocations: 0.5156 kB / 0.8227 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4793, allocations: 0.75 kB / 0.8227 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.4795, allocations: 178.3 kB / 0.8228 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.4795, allocations: 10.84 kB / 0.8229 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.4795, allocations: 0.7031 kB / 0.8229 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.784e-05/0.4796, allocations: 8.172 kB / 0.8229 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.4796, allocations: 6.656 kB / 0.8229 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.4796, allocations: 1.312 kB / 0.8229 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.4796, allocations: 87.36 kB / 0.8229 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4796, allocations: 0 / 0.8229 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001497/0.4798, allocations: 4.594 kB / 0.823 GB, free: 21.79 MB / 0.6355 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 8.035e-05/0.4799, allocations: 96.33 kB / 0.823 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.48, allocations: 50.3 kB / 0.8231 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.4801, allocations: 0 / 0.8231 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.4801, allocations: 30.64 kB / 0.8231 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.4803, allocations: 6.219 kB / 0.8231 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.4806, allocations: 157.1 kB / 0.8233 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.4807, allocations: 62.44 kB / 0.8233 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.4807, allocations: 12.59 kB / 0.8234 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.4807, allocations: 0 / 0.8234 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.001936/0.4826, allocations: 0.6428 MB / 0.824 GB, free: 21.41 MB / 0.6355 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.642170592211187] Failed to read output from testmodel.py, exit status != 0: 0.48920162208378315 0.499478255 0.021033462000000003 Calling exit ...