Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",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.7353/0.7353, allocations: 127.4 MB / 134.9 MB, free: 3.488 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.0009946/0.0009945, allocations: 177.8 kB / 164.6 MB, free: 11.62 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.877/1.877, allocations: 205.2 MB / 399.5 MB, free: 13.56 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.001134/0.001134, allocations: 100.9 kB / 476.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.672e-05, allocations: 5.312 kB / 0.5467 GB, free: 95.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.191, allocations: 76.76 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.3342, allocations: 102.5 MB / 0.7217 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.3345, allocations: 71.95 kB / 0.7218 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.3478, allocations: 4.602 MB / 0.7263 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3478, allocations: 7.938 kB / 0.7263 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3478, allocations: 0 / 0.7263 GB, free: 15.7 MB / 0.5105 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.0004522/0.3483, allocations: 366.4 kB / 0.7267 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.3484, allocations: 12.03 kB / 0.7267 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.3484, allocations: 3.953 kB / 0.7267 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3486, allocations: 167 kB / 0.7268 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3486, allocations: 0 / 0.7268 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3486, allocations: 4 kB / 0.7268 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.8e-05/0.3487, allocations: 12 kB / 0.7268 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.3488, allocations: 37.69 kB / 0.7269 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3488, allocations: 3.938 kB / 0.7269 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3488, allocations: 0 / 0.7269 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3488, allocations: 0 / 0.7269 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.3493, allocations: 257.4 kB / 0.7271 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.3493, allocations: 26.58 kB / 0.7272 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.3494, allocations: 13.8 kB / 0.7272 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/0.35, allocations: 461.5 kB / 0.7276 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3501, allocations: 30.56 kB / 0.7276 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3501, allocations: 0 / 0.7276 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002051/0.3503, allocations: 41.64 kB / 0.7277 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.3503, allocations: 51.41 kB / 0.7277 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.3504, allocations: 109 kB / 0.7278 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3504, allocations: 25.7 kB / 0.7279 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.3505, allocations: 84.14 kB / 0.7279 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.3505, allocations: 11.84 kB / 0.7279 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.3505, allocations: 0 / 0.7279 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3507, allocations: 314.8 kB / 0.7282 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.3507, allocations: 8 kB / 0.7283 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.3507, allocations: 4 kB / 0.7283 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/0.3508, allocations: 4.062 kB / 0.7283 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3508, allocations: 4 kB / 0.7283 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.786e-05/0.3509, allocations: 45.62 kB / 0.7283 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3509, allocations: 4 kB / 0.7283 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3509, allocations: 4 kB / 0.7283 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3509, allocations: 0 / 0.7283 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3511, allocations: 19.92 kB / 0.7283 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3511, allocations: 0 / 0.7283 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.3511, allocations: 11.94 kB / 0.7283 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.3512, allocations: 12.19 kB / 0.7284 GB, free: 13.31 MB / 0.5105 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 (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.714e-05/0.3513, allocations: 101 kB / 0.7285 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001086/0.3514, allocations: 45.7 kB / 0.7285 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.3514, allocations: 0 / 0.7285 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.3515, allocations: 53.59 kB / 0.7286 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3515, allocations: 0 / 0.7286 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3516, allocations: 3.953 kB / 0.7286 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3516, allocations: 4.062 kB / 0.7286 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.3517, allocations: 138.2 kB / 0.7287 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3517, allocations: 0 / 0.7287 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.3518, allocations: 15.98 kB / 0.7287 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3518, allocations: 0 / 0.7287 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3518, allocations: 0 / 0.7287 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.3518, allocations: 0 / 0.7287 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3519, allocations: 0 / 0.7287 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.352, allocations: 147.4 kB / 0.7288 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.3521, allocations: 81.09 kB / 0.7289 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.3521, allocations: 0 / 0.7289 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.3522, allocations: 8 kB / 0.7289 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.3522, allocations: 3.984 kB / 0.7289 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3522, allocations: 4 kB / 0.7289 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.3523, allocations: 79.28 kB / 0.729 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.285e-06/0.3523, allocations: 4.031 kB / 0.729 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002293/0.3525, allocations: 19.94 kB / 0.729 GB, free: 12.53 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 (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.000543/0.3531, allocations: 0.6851 MB / 0.7297 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.891e-05/0.3532, allocations: 12 kB / 0.7297 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3532, allocations: 96 / 0.7297 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.3532, allocations: 19.94 kB / 0.7297 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.3534, allocations: 9.984 kB / 0.7297 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.3538, allocations: 97.53 kB / 0.7298 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3541, allocations: 0.6807 MB / 0.7305 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.3541, allocations: 0 / 0.7305 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.3542, allocations: 11.44 kB / 0.7305 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.3542, allocations: 0 / 0.7305 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.3749, allocations: 1.003 MB / 0.7315 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.3752, allocations: 143.3 kB / 0.7316 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2, allocations: 4 kB / 0.7316 GB, free: 9.734 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)