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.7463/0.7463, allocations: 128.7 MB / 143.7 MB, free: 2.281 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.001095/0.001095, allocations: 187.3 kB / 173.7 MB, free: 6.117 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.501/1.501, allocations: 205.4 MB / 409 MB, free: 10.48 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.0008352/0.0008353, allocations: 92.66 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 18.38 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1662, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.312, allocations: 103.3 MB / 0.7362 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3122, allocations: 83.94 kB / 0.7363 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.3256, allocations: 4.621 MB / 0.7408 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.026e-06/0.3257, allocations: 0 / 0.7408 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.3257, allocations: 0 / 0.7408 GB, free: 2.34 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.000579/0.3263, allocations: 385.7 kB / 0.7412 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.353e-05/0.3264, allocations: 8.031 kB / 0.7412 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.3264, allocations: 38.48 kB / 0.7413 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.3265, allocations: 7.953 kB / 0.7413 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3267, allocations: 171 kB / 0.7414 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3267, allocations: 0 / 0.7414 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3267, allocations: 4 kB / 0.7414 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.3269, allocations: 57.67 kB / 0.7415 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3269, allocations: 0 / 0.7415 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.327, allocations: 0 / 0.7415 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.327, allocations: 0 / 0.7415 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.3272, allocations: 51.91 kB / 0.7415 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.3276, allocations: 276.8 kB / 0.7418 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3278, allocations: 42.55 kB / 0.7418 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006378/0.3284, allocations: 461.5 kB / 0.7423 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.3284, allocations: 30.56 kB / 0.7423 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3284, allocations: 4 kB / 0.7423 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0004142/0.3289, allocations: 105.5 kB / 0.7424 GB, free: 476 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.3289, allocations: 55.59 kB / 0.7425 GB, free: 408 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.329, allocations: 93 kB / 0.7426 GB, free: 308 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.329, allocations: 25.7 kB / 0.7426 GB, free: 276 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.3291, allocations: 92.12 kB / 0.7427 GB, free: 180 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.3291, allocations: 3.906 kB / 0.7427 GB, free: 176 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.3291, allocations: 0 / 0.7427 GB, free: 176 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.3509/0.6801, allocations: 314.7 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.6803, allocations: 22.69 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.443e-05/0.6804, allocations: 22.38 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.6805, allocations: 23.36 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6805, allocations: 0.875 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002955/0.6808, allocations: 83.14 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6808, allocations: 7.062 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6809, allocations: 5.812 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.6809, allocations: 0 / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.681, allocations: 13.88 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.681, allocations: 0.5156 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.6811, allocations: 5.188 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.6811, allocations: 9.453 kB / 0.7432 GB, free: 109.6 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 () * Number of clocked 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.421e-05/0.6812, allocations: 112.6 kB / 0.7433 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.6812, allocations: 4.031 kB / 0.7433 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.6815, allocations: 85.88 kB / 0.7433 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.6815, allocations: 1.469 kB / 0.7433 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6815, allocations: 0 / 0.7433 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6815, allocations: 4.734 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.6816, allocations: 164.4 kB / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6817, allocations: 0 / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.6817, allocations: 12.25 kB / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6817, allocations: 0.9062 kB / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.6817, allocations: 3.625 kB / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6818, allocations: 1.438 kB / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6818, allocations: 0 / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.682, allocations: 179.5 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.682, allocations: 80.69 kB / 0.7438 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.6821, allocations: 1.781 kB / 0.7438 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.6821, allocations: 9.734 kB / 0.7438 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.6822, allocations: 2.219 kB / 0.7438 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.6822, allocations: 2 kB / 0.7438 GB, free: 109 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.091e-05/0.6822, allocations: 90.23 kB / 0.7439 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6822, allocations: 0 / 0.7439 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002666/0.6825, allocations: 18.38 kB / 0.7439 GB, free: 108.9 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 () * Number of clocked 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.0004841/0.683, allocations: 0.7239 MB / 0.7446 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.6832, allocations: 48.58 kB / 0.7446 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6832, allocations: 0 / 0.7446 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.6833, allocations: 32.56 kB / 0.7447 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.6835, allocations: 9.609 kB / 0.7447 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.6839, allocations: 146.9 kB / 0.7448 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.684, allocations: 0.6837 MB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.6841, allocations: 8.656 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.6841, allocations: 13.05 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/0.6841, allocations: 0 / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.6968, allocations: 1.31 MB / 0.7468 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.697, allocations: 182.5 kB / 0.747 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.232, allocations: 3.875 kB / 0.747 GB, free: 107.1 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)