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.0007026/0.0007027, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007427/0.0007425, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.181/1.181, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5942/0.5942, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002649, allocations: 11.98 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0005707/0.118, allocations: 311.1 kB / 0.5572 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002306/0.1183, allocations: 87.72 kB / 0.5573 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.229e-05/0.1183, allocations: 0 / 0.5573 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.816e-06/0.1183, allocations: 0 / 0.5573 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.1184, allocations: 4 kB / 0.5573 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.1185, allocations: 11.98 kB / 0.5573 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.656e-05/0.1185, allocations: 4 kB / 0.5573 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.031e-05/0.1186, allocations: 0 / 0.5573 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.1186, allocations: 4 kB / 0.5573 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.1187, allocations: 11.92 kB / 0.5573 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1187, allocations: 4 kB / 0.5573 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-05/0.1187, allocations: 7.984 kB / 0.5573 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.1187, allocations: 3.984 kB / 0.5573 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.1188, allocations: 33.7 kB / 0.5574 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.959e-05/0.1188, allocations: 8 kB / 0.5574 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1188, allocations: 3.984 kB / 0.5574 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1188, allocations: 0 / 0.5574 GB, free: 11.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.1189, allocations: 0 / 0.5574 GB, free: 11.17 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.0003418/0.1192, allocations: 311.4 kB / 0.5577 GB, free: 10.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1192, allocations: 8.031 kB / 0.5577 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.1193, allocations: 30.56 kB / 0.5577 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.1194, allocations: 11.98 kB / 0.5577 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1195, allocations: 175.1 kB / 0.5579 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1195, allocations: 0 / 0.5579 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1196, allocations: 3.984 kB / 0.5579 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.815e-05/0.1197, allocations: 41.58 kB / 0.5579 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1197, allocations: 4 kB / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.1197, allocations: 0 / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1197, allocations: 0 / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.1198, allocations: 19.92 kB / 0.558 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.1199, allocations: 153.7 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.12, allocations: 38.56 kB / 0.5581 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.1201, allocations: 16.91 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.1201, allocations: 3.938 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.1201, allocations: 30.56 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1201, allocations: 4 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001702/0.1203, allocations: 57.62 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1203, allocations: 51.41 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.801e-05/0.1204, allocations: 93.86 kB / 0.5584 GB, free: 9.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.1204, allocations: 25.7 kB / 0.5584 GB, free: 9.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.1204, allocations: 84.08 kB / 0.5585 GB, free: 9.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.1205, allocations: 16.03 kB / 0.5585 GB, free: 9.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-06/0.1205, allocations: 0 / 0.5585 GB, free: 9.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.1206, allocations: 314.8 kB / 0.5588 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.1206, allocations: 7.984 kB / 0.5588 GB, free: 9.477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.1206, allocations: 11.94 kB / 0.5588 GB, free: 9.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.698e-05/0.1207, allocations: 7.984 kB / 0.5588 GB, free: 9.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1207, allocations: 0 / 0.5588 GB, free: 9.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.438e-05/0.1208, allocations: 45.69 kB / 0.5589 GB, free: 9.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1208, allocations: 8 kB / 0.5589 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.1208, allocations: 0 / 0.5589 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.1208, allocations: 4 kB / 0.5589 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.1212, allocations: 47.88 kB / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.1222, allocations: 1.312 MB / 0.5602 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.1223, allocations: 8.188 kB / 0.5602 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1223, allocations: 4 kB / 0.5602 GB, free: 7.891 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.1223, allocations: 106.5 kB / 0.5603 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.1223, allocations: 4 kB / 0.5603 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.174e-05/0.1224, allocations: 7.484 kB / 0.5603 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1224, allocations: 3.953 kB / 0.5603 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.1224, allocations: 0 / 0.5603 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-06/0.1224, allocations: 0 / 0.5603 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.42e-05/0.1225, allocations: 149.7 kB / 0.5605 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1225, allocations: 4 kB / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.1228, allocations: 43.92 kB / 0.5605 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1228, allocations: 7.938 kB / 0.5605 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.1228, allocations: 0 / 0.5605 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.1238, allocations: 1.31 MB / 0.5618 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1238, allocations: 3.984 kB / 0.5618 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.1239, allocations: 77.09 kB / 0.5619 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.124, allocations: 77.11 kB / 0.562 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-06/0.124, allocations: 0 / 0.562 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.624e-05/0.124, allocations: 8.078 kB / 0.562 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.124, allocations: 7.953 kB / 0.562 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.124, allocations: 0 / 0.562 GB, free: 5.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.574e-05/0.1241, allocations: 75.28 kB / 0.5621 GB, free: 5.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1241, allocations: 0 / 0.5621 GB, free: 5.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000173/0.1243, allocations: 8 kB / 0.5621 GB, free: 5.781 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000349/0.1246, allocations: 0.6131 MB / 0.5627 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.125, allocations: 59.98 kB / 0.5627 GB, free: 5.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.125, allocations: 7.938 kB / 0.5627 GB, free: 5.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.1252, allocations: 39.94 kB / 0.5628 GB, free: 5.031 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.1253, allocations: 7.953 kB / 0.5628 GB, free: 5.023 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.1255, allocations: 116.7 kB / 0.5629 GB, free: 4.871 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1258, allocations: 0.673 MB / 0.5635 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.922e-05/0.1258, allocations: 11.98 kB / 0.5636 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.1259, allocations: 11.38 kB / 0.5636 GB, free: 4.148 MB / 430.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1259, allocations: 0 / 0.5636 GB, free: 4.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009557/0.1354, allocations: 1.07 MB / 0.5646 GB, free: 3.273 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.1357, allocations: 217.2 kB / 0.5648 GB, free: 3.035 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.39/1.525, allocations: 3.938 kB / 0.5648 GB, free: 3.031 MB / 430.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/linux/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) Environment - environmentSimulation: