Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 103.3 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7601/0.7601, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 71.86 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1418, allocations: 76.18 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002127/0.144, allocations: 0.5727 MB / 0.6322 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003527/0.1444, allocations: 91.77 kB / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.1444, allocations: 3.938 kB / 0.6323 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.1445, allocations: 0 / 0.6323 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.1446, allocations: 4 kB / 0.6323 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1448, allocations: 15.98 kB / 0.6323 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.1449, allocations: 8 kB / 0.6323 GB, free: 4.188 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.145, allocations: 3.938 kB / 0.6323 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.145, allocations: 11.92 kB / 0.6323 GB, free: 4.172 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.979e-05/0.1451, allocations: 7.984 kB / 0.6323 GB, free: 4.164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1451, allocations: 0 / 0.6323 GB, free: 4.164 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.1452, allocations: 11.98 kB / 0.6323 GB, free: 4.152 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1452, allocations: 4 kB / 0.6323 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.1453, allocations: 0 / 0.6323 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1454, allocations: 19.92 kB / 0.6324 GB, free: 4.129 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1454, allocations: 0 / 0.6324 GB, free: 4.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1454, allocations: 0 / 0.6324 GB, free: 4.129 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1454, allocations: 0 / 0.6324 GB, free: 4.129 MB / 478.1 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.0005251/0.1459, allocations: 323.9 kB / 0.6327 GB, free: 3.762 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.146, allocations: 8.031 kB / 0.6327 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.146, allocations: 30.75 kB / 0.6327 GB, free: 3.715 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1462, allocations: 8.922 kB / 0.6327 GB, free: 3.707 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.1464, allocations: 164.4 kB / 0.6329 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.1464, allocations: 8.375 kB / 0.6329 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.1464, allocations: 384 / 0.6329 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1466, allocations: 38.23 kB / 0.6329 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1466, allocations: 7.875 kB / 0.6329 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1466, allocations: 0 / 0.6329 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1466, allocations: 4 kB / 0.6329 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.066e-05/0.1467, allocations: 11.98 kB / 0.6329 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.1469, allocations: 157.7 kB / 0.6331 GB, free: 3.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1471, allocations: 42.59 kB / 0.6331 GB, free: 3.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.1471, allocations: 12.92 kB / 0.6331 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.1471, allocations: 3.984 kB / 0.6332 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.1473, allocations: 34.56 kB / 0.6332 GB, free: 3.117 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1473, allocations: 7.938 kB / 0.6332 GB, free: 3.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002295/0.1475, allocations: 57.75 kB / 0.6332 GB, free: 3.047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.1476, allocations: 55.39 kB / 0.6333 GB, free: 2.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.558e-05/0.1477, allocations: 89.86 kB / 0.6334 GB, free: 2.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1477, allocations: 29.7 kB / 0.6334 GB, free: 2.848 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.1477, allocations: 84.08 kB / 0.6335 GB, free: 2.762 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1477, allocations: 18.56 kB / 0.6335 GB, free: 2.746 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.1478, allocations: 13.72 kB / 0.6335 GB, free: 2.727 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1479, allocations: 314.8 kB / 0.6338 GB, free: 2.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.148, allocations: 11.98 kB / 0.6338 GB, free: 2.398 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.148, allocations: 8 kB / 0.6338 GB, free: 2.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.1481, allocations: 24.78 kB / 0.6339 GB, free: 2.363 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1481, allocations: 0 / 0.6339 GB, free: 2.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001162/0.1482, allocations: 49.67 kB / 0.6339 GB, free: 2.309 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1483, allocations: 8 kB / 0.6339 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1483, allocations: 7.938 kB / 0.6339 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1483, allocations: 0 / 0.6339 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.1487, allocations: 39.94 kB / 0.634 GB, free: 2.254 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1502, allocations: 1.404 MB / 0.6353 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.1502, allocations: 0 / 0.6353 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1502, allocations: 0 / 0.6353 GB, free: 0.7109 MB / 478.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/0.1503, allocations: 118.4 kB / 0.6355 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.1504, allocations: 0 / 0.6355 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.1504, allocations: 3.5 kB / 0.6355 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1504, allocations: 4.062 kB / 0.6355 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1504, allocations: 3.984 kB / 0.6355 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1504, allocations: 0 / 0.6355 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1505, allocations: 153.6 kB / 0.6356 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1505, allocations: 0 / 0.6356 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.1509, allocations: 47.92 kB / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1509, allocations: 4 kB / 0.6357 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1509, allocations: 0 / 0.6357 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.1524, allocations: 1.412 MB / 0.637 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1524, allocations: 0 / 0.637 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.1525, allocations: 81.17 kB / 0.6371 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.1526, allocations: 77.11 kB / 0.6372 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1526, allocations: 7.938 kB / 0.6372 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.69e-05/0.1526, allocations: 0 / 0.6372 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.1527, allocations: 4 kB / 0.6372 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1527, allocations: 0 / 0.6372 GB, free: 14.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.843e-05/0.1527, allocations: 75.28 kB / 0.6373 GB, free: 14.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.542e-06/0.1527, allocations: 4 kB / 0.6373 GB, free: 14.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.1529, allocations: 7.938 kB / 0.6373 GB, free: 14.48 MB / 494.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004771/0.1534, allocations: 0.6129 MB / 0.6379 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.1539, allocations: 63.91 kB / 0.6379 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1539, allocations: 3.938 kB / 0.6379 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.1541, allocations: 39.95 kB / 0.638 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.1543, allocations: 8 kB / 0.638 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.1548, allocations: 122.6 kB / 0.6381 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1551, allocations: 0.6806 MB / 0.6388 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.262e-05/0.1551, allocations: 0 / 0.6388 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1552, allocations: 11.44 kB / 0.6388 GB, free: 12.84 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1552, allocations: 0 / 0.6388 GB, free: 12.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.1731, allocations: 1.307 MB / 0.6401 GB, free: 11.67 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.06, allocations: 7.031 kB / 0.6401 GB, free: 11.67 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)