Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.8328/0.8328, allocations: 127.4 MB / 134.9 MB, free: 3.785 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.001166/0.001166, allocations: 180.9 kB / 164.7 MB, free: 6.52 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.84/1.84, allocations: 205.2 MB / 399.5 MB, free: 5.922 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.0008843/0.0008843, allocations: 74.48 kB / 476.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.309e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1752, allocations: 76.77 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5689/0.7442, allocations: 102.1 MB / 0.7213 GB, free: 13.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.7445, allocations: 73.64 kB / 0.7214 GB, free: 13.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002237/0.7468, allocations: 0.7738 MB / 0.7222 GB, free: 12.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7468, allocations: 0 / 0.7222 GB, free: 12.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.7468, allocations: 0 / 0.7222 GB, free: 12.46 MB / 490.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.0003874/0.7472, allocations: 352.3 kB / 0.7225 GB, free: 12.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.7472, allocations: 8.031 kB / 0.7225 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.7474, allocations: 16.72 kB / 0.7225 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.7476, allocations: 167.7 kB / 0.7227 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.7476, allocations: 0 / 0.7227 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.7476, allocations: 0 / 0.7227 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.406e-05/0.7477, allocations: 18.75 kB / 0.7227 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.346e-05/0.7478, allocations: 45.19 kB / 0.7227 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.7478, allocations: 0 / 0.7227 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7478, allocations: 0 / 0.7227 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.7478, allocations: 0 / 0.7227 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.7483, allocations: 262.3 kB / 0.723 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.404e-05/0.7483, allocations: 35.33 kB / 0.723 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.7484, allocations: 15.55 kB / 0.723 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.7484, allocations: 0 / 0.723 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.7484, allocations: 30.56 kB / 0.7231 GB, free: 11.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.7484, allocations: 0 / 0.7231 GB, free: 11.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001748/0.7486, allocations: 48.27 kB / 0.7231 GB, free: 11.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.7487, allocations: 51.44 kB / 0.7232 GB, free: 11.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.7487, allocations: 104.3 kB / 0.7233 GB, free: 11.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.7488, allocations: 25.7 kB / 0.7233 GB, free: 11.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.7488, allocations: 87.39 kB / 0.7234 GB, free: 11.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.7488, allocations: 7.844 kB / 0.7234 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.7488, allocations: 0 / 0.7234 GB, free: 11.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.749, allocations: 314.2 kB / 0.7237 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.749, allocations: 4 kB / 0.7237 GB, free: 10.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.749, allocations: 11.17 kB / 0.7237 GB, free: 10.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.819e-05/0.749, allocations: 12.69 kB / 0.7237 GB, free: 10.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7491, allocations: 0 / 0.7237 GB, free: 10.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.604e-05/0.7491, allocations: 51.83 kB / 0.7238 GB, free: 10.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.7492, allocations: 4 kB / 0.7238 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7492, allocations: 0 / 0.7238 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.7492, allocations: 0.6562 kB / 0.7238 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7493, allocations: 15.98 kB / 0.7238 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.7493, allocations: 0 / 0.7238 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.7494, allocations: 19.95 kB / 0.7238 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.7494, allocations: 3.953 kB / 0.7238 GB, free: 10.66 MB / 490.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 () * 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 7.048e-05/0.7495, allocations: 105 kB / 0.7239 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.321e-05/0.7496, allocations: 60.22 kB / 0.724 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.7496, allocations: 0 / 0.724 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.7496, allocations: 3.969 kB / 0.724 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7496, allocations: 3.984 kB / 0.724 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7497, allocations: 7.984 kB / 0.724 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7497, allocations: 4 kB / 0.724 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.7498, allocations: 139.9 kB / 0.7241 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7498, allocations: 0 / 0.7241 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.7499, allocations: 19.92 kB / 0.7241 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7499, allocations: 0 / 0.7241 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.7499, allocations: 0 / 0.7241 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7499, allocations: 0 / 0.7241 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7499, allocations: 0 / 0.7241 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.7501, allocations: 157.3 kB / 0.7243 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.7501, allocations: 77.11 kB / 0.7244 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.7501, allocations: 0 / 0.7244 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.7502, allocations: 12.86 kB / 0.7244 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.7503, allocations: 0 / 0.7244 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.7503, allocations: 4.031 kB / 0.7244 GB, free: 10.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.778e-05/0.7503, allocations: 91.33 kB / 0.7245 GB, free: 9.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7503, allocations: 0 / 0.7245 GB, free: 9.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.7506, allocations: 4 kB / 0.7245 GB, free: 9.926 MB / 490.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 () * 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.0003627/0.7509, allocations: 0.6763 MB / 0.7251 GB, free: 9.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.751, allocations: 21.97 kB / 0.7251 GB, free: 9.215 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.751, allocations: 0 / 0.7251 GB, free: 9.215 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.7511, allocations: 11.12 kB / 0.7252 GB, free: 9.207 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.7512, allocations: 3.25 kB / 0.7252 GB, free: 9.207 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.7516, allocations: 97.2 kB / 0.7253 GB, free: 9.078 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.7519, allocations: 0.6846 MB / 0.7259 GB, free: 8.367 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.497e-05/0.7519, allocations: 7.938 kB / 0.7259 GB, free: 8.359 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.752, allocations: 11.42 kB / 0.7259 GB, free: 8.348 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.752, allocations: 0 / 0.7259 GB, free: 8.348 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.7724, allocations: 0.8665 MB / 0.7268 GB, free: 7.496 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.7726, allocations: 148.7 kB / 0.7269 GB, free: 7.301 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.287, allocations: 0 / 0.7269 GB, free: 7.301 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)