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.7457/0.7457, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001193, allocations: 196.7 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.1 MB / 404.5 MB, free: 1.637 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.001064/0.001064, allocations: 86.41 kB / 481.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.973e-05/3.978e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1641, allocations: 76.76 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6174/0.7816, allocations: 102.5 MB / 0.7283 GB, free: 10.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.7819, allocations: 77.95 kB / 0.7284 GB, free: 10.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002407/0.7843, allocations: 0.7825 MB / 0.7291 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.7844, allocations: 0 / 0.7291 GB, free: 10.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.7844, allocations: 3.938 kB / 0.7292 GB, free: 10.16 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.0004106/0.7848, allocations: 334.5 kB / 0.7295 GB, free: 9.793 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.7849, allocations: 16.03 kB / 0.7295 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.7849, allocations: 34.44 kB / 0.7295 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.7851, allocations: 20.72 kB / 0.7295 GB, free: 9.719 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.7853, allocations: 167 kB / 0.7297 GB, free: 9.516 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.7853, allocations: 0 / 0.7297 GB, free: 9.516 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.7853, allocations: 4 kB / 0.7297 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.7854, allocations: 41.06 kB / 0.7297 GB, free: 9.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.7855, allocations: 0 / 0.7297 GB, free: 9.469 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7855, allocations: 7.625 kB / 0.7297 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7855, allocations: 4 kB / 0.7298 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.183e-05/0.7856, allocations: 15.58 kB / 0.7298 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.7861, allocations: 271 kB / 0.73 GB, free: 9.148 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.7862, allocations: 32.83 kB / 0.7301 GB, free: 9.113 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.7862, allocations: 24.2 kB / 0.7301 GB, free: 9.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.7862, allocations: 4 kB / 0.7301 GB, free: 9.086 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.7863, allocations: 33.75 kB / 0.7301 GB, free: 9.047 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.435e-06/0.7863, allocations: 0 / 0.7301 GB, free: 9.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.7864, allocations: 50.47 kB / 0.7302 GB, free: 9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.7865, allocations: 51.41 kB / 0.7302 GB, free: 8.938 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.7866, allocations: 99.67 kB / 0.7303 GB, free: 8.836 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.7866, allocations: 29.73 kB / 0.7303 GB, free: 8.801 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.7867, allocations: 80.14 kB / 0.7304 GB, free: 8.719 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.7867, allocations: 11.22 kB / 0.7304 GB, free: 8.711 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.7867, allocations: 0 / 0.7304 GB, free: 8.711 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7869, allocations: 318.8 kB / 0.7307 GB, free: 8.391 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.7869, allocations: 7.375 kB / 0.7307 GB, free: 8.387 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.7869, allocations: 7.062 kB / 0.7307 GB, free: 8.383 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/0.787, allocations: 11.48 kB / 0.7308 GB, free: 8.375 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.787, allocations: 4.062 kB / 0.7308 GB, free: 8.371 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.588e-05/0.7871, allocations: 47.7 kB / 0.7308 GB, free: 8.328 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7871, allocations: 8 kB / 0.7308 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.7871, allocations: 0 / 0.7308 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7871, allocations: 0 / 0.7308 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.7873, allocations: 15.98 kB / 0.7308 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.7873, allocations: 3.953 kB / 0.7308 GB, free: 8.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.7873, allocations: 16.02 kB / 0.7308 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.7874, allocations: 0 / 0.7308 GB, free: 8.285 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 8.471e-05/0.7875, allocations: 108.2 kB / 0.7309 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.7875, allocations: 11.84 kB / 0.731 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.7875, allocations: 3.656 kB / 0.731 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.7875, allocations: 3.938 kB / 0.731 GB, free: 8.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7875, allocations: 0 / 0.731 GB, free: 8.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.7876, allocations: 7.938 kB / 0.731 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.7877, allocations: 165.3 kB / 0.7311 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.7877, allocations: 4 kB / 0.7311 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-05/0.7878, allocations: 15.98 kB / 0.7312 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.7879, allocations: 0 / 0.7312 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.7879, allocations: 0 / 0.7312 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7879, allocations: 0 / 0.7312 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7879, allocations: 0 / 0.7312 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.788, allocations: 153.2 kB / 0.7313 GB, free: 7.773 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.7881, allocations: 81.02 kB / 0.7314 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.7881, allocations: 0 / 0.7314 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.7882, allocations: 15.17 kB / 0.7314 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.7883, allocations: 4 kB / 0.7314 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.7883, allocations: 0 / 0.7314 GB, free: 7.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.7883, allocations: 86.59 kB / 0.7315 GB, free: 7.578 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7884, allocations: 0 / 0.7315 GB, free: 7.578 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.7886, allocations: 8.031 kB / 0.7315 GB, free: 7.57 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.0005295/0.7892, allocations: 0.6805 MB / 0.7321 GB, free: 6.875 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.7893, allocations: 15.44 kB / 0.7322 GB, free: 6.863 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7893, allocations: 0 / 0.7322 GB, free: 6.863 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.704e-05/0.7894, allocations: 19.53 kB / 0.7322 GB, free: 6.848 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.7896, allocations: 7.609 kB / 0.7322 GB, free: 6.844 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.79, allocations: 103 kB / 0.7323 GB, free: 6.711 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.7904, allocations: 0.6809 MB / 0.733 GB, free: 6.004 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.894e-05/0.7904, allocations: 4.062 kB / 0.733 GB, free: 6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.7905, allocations: 11.06 kB / 0.733 GB, free: 5.992 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.7905, allocations: 0 / 0.733 GB, free: 5.992 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.8035, allocations: 1.19 MB / 0.7341 GB, free: 4.918 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.8037, allocations: 159.8 kB / 0.7343 GB, free: 4.695 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.321, allocations: 64 / 0.7343 GB, free: 4.695 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)