Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.000684/0.000684, allocations: 92.23 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007132/0.0007131, allocations: 174.2 kB / 16.58 MB, free: 6.848 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.164/1.164, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6009/0.6009, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.000264, allocations: 13.09 kB / 493.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.001193/0.117, allocations: 1.145 MB / 0.558 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001986/0.1172, allocations: 88.56 kB / 0.5581 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.1172, allocations: 4 kB / 0.5581 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.1173, allocations: 4 kB / 0.5581 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.237e-05/0.1173, allocations: 3.938 kB / 0.5581 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.1174, allocations: 11.98 kB / 0.5581 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.752e-05/0.1175, allocations: 15.94 kB / 0.5581 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.536e-05/0.1176, allocations: 11.97 kB / 0.5581 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.1176, allocations: 7.938 kB / 0.5582 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.95e-05/0.1176, allocations: 11.98 kB / 0.5582 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.1176, allocations: 0 / 0.5582 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.1177, allocations: 11.98 kB / 0.5582 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1177, allocations: 15.92 kB / 0.5582 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.1177, allocations: 29.7 kB / 0.5582 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.566e-05/0.1178, allocations: 11.97 kB / 0.5582 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1178, allocations: 4 kB / 0.5582 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1178, allocations: 0 / 0.5582 GB, free: 10.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1178, allocations: 4 kB / 0.5582 GB, free: 10.29 MB / 430.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.0003233/0.1181, allocations: 339.5 kB / 0.5586 GB, free: 9.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1182, allocations: 16.02 kB / 0.5586 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.1182, allocations: 30.56 kB / 0.5586 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.1183, allocations: 15.98 kB / 0.5586 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.826e-05/0.1184, allocations: 167.1 kB / 0.5588 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1185, allocations: 0 / 0.5588 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.1185, allocations: 0 / 0.5588 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1186, allocations: 77.55 kB / 0.5589 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.1187, allocations: 0 / 0.5589 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.1187, allocations: 0 / 0.5589 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1187, allocations: 0 / 0.5589 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1189, allocations: 63.95 kB / 0.5589 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.1192, allocations: 261 kB / 0.5592 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1193, allocations: 70.44 kB / 0.5592 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.199e-05/0.1194, allocations: 40.83 kB / 0.5593 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1195, allocations: 0 / 0.5593 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1195, allocations: 38.56 kB / 0.5593 GB, free: 9.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.1195, allocations: 0 / 0.5593 GB, free: 9.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003471/0.1198, allocations: 125.6 kB / 0.5594 GB, free: 8.887 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.1199, allocations: 55.41 kB / 0.5595 GB, free: 8.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.904e-05/0.1199, allocations: 105.8 kB / 0.5596 GB, free: 8.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.12, allocations: 25.7 kB / 0.5596 GB, free: 8.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.12, allocations: 84.14 kB / 0.5597 GB, free: 8.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.12, allocations: 19.72 kB / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.12, allocations: 0 / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.1201, allocations: 314.9 kB / 0.56 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.1202, allocations: 31.97 kB / 0.56 GB, free: 8.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.1203, allocations: 31.97 kB / 0.5601 GB, free: 8.191 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.643e-05/0.1204, allocations: 32.05 kB / 0.5601 GB, free: 8.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1204, allocations: 0 / 0.5601 GB, free: 8.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002146/0.1206, allocations: 97.59 kB / 0.5602 GB, free: 8.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1206, allocations: 8 kB / 0.5602 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.1207, allocations: 0 / 0.5602 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.1207, allocations: 0 / 0.5602 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.1208, allocations: 15.98 kB / 0.5602 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1208, allocations: 4.25 kB / 0.5602 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.1208, allocations: 16.02 kB / 0.5602 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1209, allocations: 4 kB / 0.5602 GB, free: 8.012 MB / 430.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.788e-05/0.1209, allocations: 109.8 kB / 0.5603 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.1209, allocations: 11.86 kB / 0.5603 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.121, allocations: 7.531 kB / 0.5604 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.121, allocations: 0 / 0.5604 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.121, allocations: 0 / 0.5604 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.121, allocations: 4 kB / 0.5604 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.1211, allocations: 161.7 kB / 0.5605 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1211, allocations: 3.984 kB / 0.5605 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.1212, allocations: 12 kB / 0.5605 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1212, allocations: 0 / 0.5605 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1212, allocations: 7.938 kB / 0.5605 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1212, allocations: 0 / 0.5605 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1212, allocations: 7.922 kB / 0.5605 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1215, allocations: 187.5 kB / 0.5607 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.1215, allocations: 85.12 kB / 0.5608 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1215, allocations: 4 kB / 0.5608 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.1216, allocations: 11.95 kB / 0.5608 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.1217, allocations: 11.91 kB / 0.5608 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1217, allocations: 4 kB / 0.5608 GB, free: 7.301 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.253e-05/0.1217, allocations: 83.28 kB / 0.5609 GB, free: 7.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1217, allocations: 0 / 0.5609 GB, free: 7.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002058/0.1219, allocations: 4 kB / 0.5609 GB, free: 7.215 MB / 430.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004261/0.1224, allocations: 0.7209 MB / 0.5616 GB, free: 6.469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.1226, allocations: 71.97 kB / 0.5617 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1226, allocations: 0 / 0.5617 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/0.1227, allocations: 35.86 kB / 0.5617 GB, free: 6.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1229, allocations: 11.95 kB / 0.5617 GB, free: 6.352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.1233, allocations: 160.3 kB / 0.5619 GB, free: 6.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.1235, allocations: 0.6809 MB / 0.5626 GB, free: 5.453 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.641e-05/0.1235, allocations: 0 / 0.5626 GB, free: 5.453 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.1235, allocations: 7.438 kB / 0.5626 GB, free: 5.445 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1235, allocations: 0 / 0.5626 GB, free: 5.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009273/0.1328, allocations: 1.184 MB / 0.5637 GB, free: 4.398 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.133, allocations: 179.5 kB / 0.5639 GB, free: 4.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.444/1.577, allocations: 0 / 0.5639 GB, free: 4.16 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: