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.0006794/0.0006794, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009263/0.001606, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007082/0.0007082, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009213/0.001629, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.14/1.153, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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-545:108: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-545:116: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.7834/0.7834, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3032/1.087, allocations: 49.05 MB / 447.8 MB, free: 6.57 MB / 426.7 MB " [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.313e-06/1.313e-06, allocations: 0 / 449.2 MB, free: 5.242 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.475e-05, allocations: 5.484 kB / 449.2 MB, free: 5.238 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002041/0.002065, allocations: 1.55 MB / 450.7 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.00221, allocations: 92.5 kB / 450.8 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.002238, allocations: 4 kB / 450.8 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.002259, allocations: 0 / 450.8 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.66e-05/0.002286, allocations: 7.109 kB / 450.8 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.58e-05/0.002372, allocations: 21.38 kB / 450.8 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.52e-05/0.002437, allocations: 25.12 kB / 450.9 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.217e-05/0.002509, allocations: 4.984 kB / 450.9 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/0.002583, allocations: 17.08 kB / 450.9 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.002627, allocations: 13.94 kB / 450.9 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.002641, allocations: 0 / 450.9 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.002717, allocations: 17.86 kB / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.002732, allocations: 1.312 kB / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.298e-05/0.002745, allocations: 9.422 kB / 450.9 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.002853, allocations: 34.36 kB / 451 MB, free: 3.492 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.278e-05/0.002866, allocations: 0 / 451 MB, free: 3.492 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.002867, allocations: 0.875 kB / 451 MB, free: 3.492 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.002881, allocations: 0 / 451 MB, free: 3.492 MB / 426.7 MB 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.0003524/0.003234, allocations: 247.9 kB / 451.2 MB, free: 3.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.003264, allocations: 8.031 kB / 451.2 MB, free: 3.219 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.003426, allocations: 90.69 kB / 451.3 MB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.681e-05/0.003513, allocations: 110.5 kB / 451.4 MB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.003525, allocations: 384 / 451.4 MB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.003535, allocations: 1.438 kB / 451.4 MB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.003641, allocations: 59.5 kB / 451.5 MB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.003647, allocations: 192 / 451.5 MB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.003655, allocations: 7.109 kB / 451.5 MB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.00366, allocations: 384 / 451.5 MB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/0.003684, allocations: 12.5 kB / 451.5 MB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.003885, allocations: 144.3 kB / 451.6 MB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.103e-05/0.003936, allocations: 28.27 kB / 451.7 MB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.00395, allocations: 4.859 kB / 451.7 MB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.003961, allocations: 4.609 kB / 451.7 MB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.003981, allocations: 31.25 kB / 451.7 MB, free: 2.656 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.003982, allocations: 0 / 451.7 MB, free: 2.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001091/0.004091, allocations: 48.27 kB / 451.8 MB, free: 2.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.004121, allocations: 55.34 kB / 451.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.004186, allocations: 108.3 kB / 451.9 MB, free: 2.422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.004198, allocations: 25.7 kB / 451.9 MB, free: 2.391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.004241, allocations: 99.33 kB / 452 MB, free: 2.293 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.004263, allocations: 3.953 kB / 452 MB, free: 2.289 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.004296, allocations: 17.7 kB / 452.1 MB, free: 2.266 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.004393, allocations: 310.8 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.004408, allocations: 8 kB / 452.4 MB, free: 1.945 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.004419, allocations: 0 / 452.4 MB, free: 1.945 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/0.004452, allocations: 16.78 kB / 452.4 MB, free: 1.926 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.004454, allocations: 5.562 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.116e-05/0.004505, allocations: 29.7 kB / 452.4 MB, free: 1.887 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.004521, allocations: 15.08 kB / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.004526, allocations: 0 / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.004542, allocations: 0 / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.004621, allocations: 12.69 kB / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.004624, allocations: 1.094 kB / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.004643, allocations: 4.734 kB / 452.4 MB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.004648, allocations: 4.688 kB / 452.5 MB, free: 1.855 MB / 426.7 MB 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.859e-05/0.004707, allocations: 106.5 kB / 452.6 MB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.004721, allocations: 4 kB / 452.6 MB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.004756, allocations: 12.19 kB / 452.6 MB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.004758, allocations: 0 / 452.6 MB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.004761, allocations: 4.562 kB / 452.6 MB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.004764, allocations: 4.562 kB / 452.6 MB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.187e-05/0.004856, allocations: 73.88 kB / 452.7 MB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.004857, allocations: 2.031 kB / 452.7 MB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.004885, allocations: 7.984 kB / 452.7 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.004892, allocations: 5.719 kB / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.004893, allocations: 0 / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.004898, allocations: 0 / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.004898, allocations: 0 / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.004901, allocations: 3.938 kB / 452.7 MB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.382e-05/0.004995, allocations: 137.5 kB / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.005004, allocations: 0 / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.21e-05/0.005036, allocations: 5 kB / 452.8 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.005068, allocations: 4.641 kB / 452.8 MB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.005071, allocations: 1.312 kB / 452.8 MB, free: 1.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.753e-05/0.005088, allocations: 16.8 kB / 452.8 MB, free: 1.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005088, allocations: 0 / 452.8 MB, free: 1.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001125/0.005201, allocations: 7.938 kB / 452.8 MB, free: 1.43 MB / 426.7 MB 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 9.104e-05/0.005292, allocations: 78.3 kB / 452.9 MB, free: 1.348 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.322e-05/0.005355, allocations: 13.72 kB / 452.9 MB, free: 1.332 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.005361, allocations: 5.062 kB / 452.9 MB, free: 1.328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.373e-05/0.005385, allocations: 9.406 kB / 452.9 MB, free: 1.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.005554, allocations: 42.12 kB / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.00592, allocations: 116.9 kB / 453.1 MB, free: 1.137 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.005955, allocations: 55.34 kB / 453.2 MB, free: 1.062 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.501e-05/0.00598, allocations: 5.5 kB / 453.2 MB, free: 1.059 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.006028, allocations: 47.38 kB / 453.2 MB, free: 1.012 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006029, allocations: 1.5 kB / 453.2 MB, free: 1.012 MB / 426.7 MB Notification: Performance of Templates: time 0.001995/0.008024, allocations: 0.5706 MB / 453.8 MB, free: 480 kB / 426.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.687032239511609]