Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009444/0.0009445, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4494/0.4494, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 221.3 MB / 348.3 MB, free: 428 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009701/0.0009701, allocations: 102 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.839e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3345, allocations: 72.3 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.4504, allocations: 102.1 MB / 0.66 GB, free: 2.195 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.4506, allocations: 71.95 kB / 0.6601 GB, free: 2.125 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01219/0.4628, allocations: 4.37 MB / 0.6643 GB, free: 13.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4628, allocations: 0 / 0.6643 GB, free: 13.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.4629, allocations: 0 / 0.6643 GB, free: 13.77 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.0003929/0.4633, allocations: 374.3 kB / 0.6647 GB, free: 13.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4633, allocations: 11.98 kB / 0.6647 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.4634, allocations: 34.56 kB / 0.6647 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.4634, allocations: 3.953 kB / 0.6647 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.4635, allocations: 168.4 kB / 0.6649 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4636, allocations: 0 / 0.6649 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.4636, allocations: 4 kB / 0.6649 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.4637, allocations: 33.7 kB / 0.6649 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4637, allocations: 7.938 kB / 0.6649 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4637, allocations: 7.938 kB / 0.665 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4637, allocations: 3.984 kB / 0.665 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.4638, allocations: 15.95 kB / 0.665 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.4642, allocations: 264.9 kB / 0.6652 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.651e-05/0.4642, allocations: 30.58 kB / 0.6653 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.4643, allocations: 12.92 kB / 0.6653 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/0.4649, allocations: 457.5 kB / 0.6657 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.465, allocations: 38.5 kB / 0.6657 GB, free: 12.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.465, allocations: 0 / 0.6657 GB, free: 12.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.4651, allocations: 49.41 kB / 0.6658 GB, free: 12.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.4652, allocations: 51.41 kB / 0.6658 GB, free: 11.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.4652, allocations: 105 kB / 0.6659 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.4653, allocations: 25.7 kB / 0.666 GB, free: 11.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.4653, allocations: 92.17 kB / 0.666 GB, free: 11.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.4653, allocations: 3.906 kB / 0.6661 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.4653, allocations: 0 / 0.6661 GB, free: 11.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4655, allocations: 310.8 kB / 0.6663 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.4655, allocations: 8 kB / 0.6664 GB, free: 11.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.4655, allocations: 4 kB / 0.6664 GB, free: 11.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/0.4655, allocations: 15.92 kB / 0.6664 GB, free: 11.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4655, allocations: 0 / 0.6664 GB, free: 11.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.093e-05/0.4656, allocations: 45.77 kB / 0.6664 GB, free: 11.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4656, allocations: 5.094 kB / 0.6664 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4656, allocations: 0 / 0.6664 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.4657, allocations: 0 / 0.6664 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.4658, allocations: 15.94 kB / 0.6664 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.4658, allocations: 4 kB / 0.6664 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.4658, allocations: 7.984 kB / 0.6665 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4659, allocations: 4.031 kB / 0.6665 GB, free: 11.29 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.464e-05/0.4659, allocations: 105 kB / 0.6666 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.466, allocations: 0 / 0.6666 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.4661, allocations: 65.17 kB / 0.6666 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4661, allocations: 0 / 0.6666 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4661, allocations: 3.953 kB / 0.6666 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4661, allocations: 3.938 kB / 0.6666 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.4663, allocations: 161.6 kB / 0.6668 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4663, allocations: 4 kB / 0.6668 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.4664, allocations: 12.03 kB / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4664, allocations: 0 / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4664, allocations: 3.984 kB / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4664, allocations: 0 / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4664, allocations: 0 / 0.6668 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.4666, allocations: 143.5 kB / 0.6669 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.4666, allocations: 85.14 kB / 0.667 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.4667, allocations: 3.984 kB / 0.667 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.4668, allocations: 4 kB / 0.667 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.4668, allocations: 7.984 kB / 0.667 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.4668, allocations: 0 / 0.667 GB, free: 10.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.579e-05/0.4669, allocations: 87.53 kB / 0.6671 GB, free: 10.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4669, allocations: 0 / 0.6671 GB, free: 10.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000218/0.4671, allocations: 20.98 kB / 0.6671 GB, free: 10.5 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.0005143/0.4676, allocations: 0.6889 MB / 0.6678 GB, free: 9.777 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.76e-05/0.4677, allocations: 15.94 kB / 0.6678 GB, free: 9.762 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4677, allocations: 0 / 0.6678 GB, free: 9.762 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.4678, allocations: 12 kB / 0.6678 GB, free: 9.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.4679, allocations: 4.156 kB / 0.6678 GB, free: 9.746 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.4683, allocations: 107.6 kB / 0.6679 GB, free: 9.605 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.4686, allocations: 0.677 MB / 0.6686 GB, free: 8.902 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.4687, allocations: 4 kB / 0.6686 GB, free: 8.898 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.4687, allocations: 13.69 kB / 0.6686 GB, free: 8.887 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4687, allocations: 3.938 kB / 0.6686 GB, free: 8.883 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.4814, allocations: 1.303 MB / 0.6699 GB, free: 7.73 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.4816, allocations: 142.4 kB / 0.67 GB, free: 7.512 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.347/1.829, allocations: 0 / 0.67 GB, free: 7.512 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)