Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7498/0.7498, allocations: 127.4 MB / 134.9 MB, free: 3.469 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 170.8 kB / 164.6 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 95.55 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.338e-05/2.341e-05, allocations: 5.594 kB / 0.5467 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1492, allocations: 76.77 MB / 0.6216 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.2699, allocations: 101.1 MB / 0.7204 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.2702, allocations: 83.94 kB / 0.7205 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002538/0.2728, allocations: 0.9966 MB / 0.7215 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2728, allocations: 0 / 0.7215 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2728, allocations: 8 kB / 0.7215 GB, free: 4.668 MB / 0.4948 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.0002768/0.2731, allocations: 314.5 kB / 0.7218 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2732, allocations: 8.031 kB / 0.7218 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.2733, allocations: 15.92 kB / 0.7218 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2734, allocations: 163.1 kB / 0.722 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.2735, allocations: 0 / 0.722 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.2735, allocations: 0 / 0.722 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.164e-05/0.2736, allocations: 4 kB / 0.722 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.2737, allocations: 45.62 kB / 0.722 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.2737, allocations: 3.938 kB / 0.722 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.2737, allocations: 0 / 0.722 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2737, allocations: 4 kB / 0.722 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.2738, allocations: 126.2 kB / 0.7221 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.274, allocations: 34.61 kB / 0.7222 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.274, allocations: 12.92 kB / 0.7222 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.274, allocations: 4 kB / 0.7222 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.2741, allocations: 30.56 kB / 0.7222 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.2741, allocations: 0 / 0.7222 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001273/0.2742, allocations: 45.72 kB / 0.7223 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.2742, allocations: 51.41 kB / 0.7223 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.478e-05/0.2743, allocations: 85 kB / 0.7224 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2743, allocations: 25.7 kB / 0.7224 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.2743, allocations: 84.14 kB / 0.7225 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.2744, allocations: 7.906 kB / 0.7225 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.2744, allocations: 0 / 0.7225 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2745, allocations: 314.8 kB / 0.7228 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.2745, allocations: 10.16 kB / 0.7228 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-06/0.2745, allocations: 0 / 0.7228 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.89e-05/0.2746, allocations: 7.953 kB / 0.7228 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2746, allocations: 0 / 0.7228 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.556e-05/0.2746, allocations: 49.59 kB / 0.7229 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2747, allocations: 4 kB / 0.7229 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2747, allocations: 0 / 0.7229 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.2747, allocations: 4 kB / 0.7229 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.2751, allocations: 47.86 kB / 0.7229 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.2763, allocations: 1.247 MB / 0.7241 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.2763, allocations: 0 / 0.7241 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.2763, allocations: 4 kB / 0.7241 GB, free: 1.641 MB / 0.4948 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 () * 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 9.937e-05/0.2764, allocations: 117.1 kB / 0.7243 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.65e-05/0.2765, allocations: 37.64 kB / 0.7243 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.2765, allocations: 7.922 kB / 0.7243 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.46e-05/0.2765, allocations: 12.12 kB / 0.7243 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2765, allocations: 0 / 0.7243 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.2765, allocations: 0 / 0.7243 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2766, allocations: 0 / 0.7243 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.2767, allocations: 134.1 kB / 0.7244 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2767, allocations: 0 / 0.7244 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.277, allocations: 47.92 kB / 0.7245 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.277, allocations: 0 / 0.7245 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2771, allocations: 0 / 0.7245 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009317/0.278, allocations: 1.243 MB / 0.7257 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.278, allocations: 4.031 kB / 0.7257 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.369e-05/0.2781, allocations: 73.17 kB / 0.7258 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.2782, allocations: 77.11 kB / 0.7258 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-06/0.2782, allocations: 4 kB / 0.7258 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.665e-05/0.2782, allocations: 0 / 0.7258 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.2782, allocations: 8.062 kB / 0.7259 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2782, allocations: 0 / 0.7259 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.2783, allocations: 79.28 kB / 0.7259 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2783, allocations: 0 / 0.7259 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001777/0.2785, allocations: 0 / 0.7259 GB, free: 15.6 MB / 0.5105 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 () * 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.0003921/0.2789, allocations: 0.6162 MB / 0.7265 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003416/0.2792, allocations: 43.94 kB / 0.7266 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2792, allocations: 0 / 0.7266 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.2794, allocations: 31.97 kB / 0.7266 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.573e-05/0.2795, allocations: 0 / 0.7266 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.2798, allocations: 73.72 kB / 0.7267 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.28, allocations: 0.6768 MB / 0.7273 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.2801, allocations: 4 kB / 0.7273 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.2801, allocations: 19.42 kB / 0.7274 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of SimCode: time 2.425e-06/0.2801, allocations: 3.938 kB / 0.7274 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.2988, allocations: 0.6882 MB / 0.728 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.299, allocations: 156.5 kB / 0.7282 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/1.768, allocations: 1.5 kB / 0.7282 GB, free: 13.16 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)