Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 178.4 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008741/0.0008743, allocations: 97.84 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 13.97 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2594, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.4359, allocations: 132.3 MB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.4362, allocations: 71.95 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.4602, allocations: 4.313 MB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4602, allocations: 0 / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.4602, allocations: 0 / 1.034 GB, free: 6.988 MB / 0.6823 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.0006127/0.4609, allocations: 383.2 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4609, allocations: 8.031 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.461, allocations: 30.56 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.4611, allocations: 7.906 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.4612, allocations: 163 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4613, allocations: 7.938 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.4613, allocations: 8 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.4616, allocations: 57.61 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4616, allocations: 0 / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.4616, allocations: 4 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4616, allocations: 0 / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.462, allocations: 51.94 kB / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.4625, allocations: 272.9 kB / 1.035 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.4628, allocations: 42.56 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009644/0.4638, allocations: 465.5 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4638, allocations: 34.56 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.365e-06/0.4638, allocations: 0 / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000608/0.4644, allocations: 101.7 kB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.4645, allocations: 51.41 kB / 1.035 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.4646, allocations: 101 kB / 1.035 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4646, allocations: 25.7 kB / 1.035 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.4647, allocations: 84.05 kB / 1.035 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.4647, allocations: 3.938 kB / 1.035 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.4648, allocations: 4 kB / 1.035 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4649, allocations: 318.8 kB / 1.036 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.4651, allocations: 20.02 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.4652, allocations: 35.84 kB / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.4654, allocations: 24.05 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4654, allocations: 0 / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003895/0.4658, allocations: 81.56 kB / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4659, allocations: 6.5 kB / 1.036 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4659, allocations: 0 / 1.036 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4659, allocations: 4.031 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.466, allocations: 15.98 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4661, allocations: 0 / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.951e-05/0.4662, allocations: 4 kB / 1.036 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.4662, allocations: 0 / 1.036 GB, free: 4.312 MB / 0.6823 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 0.0001/0.4663, allocations: 119.7 kB / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.4664, allocations: 0 / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.4668, allocations: 93.05 kB / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4668, allocations: 4 kB / 1.036 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4668, allocations: 0 / 1.036 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4668, allocations: 0 / 1.036 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.4671, allocations: 169.6 kB / 1.036 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4671, allocations: 0 / 1.036 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.4672, allocations: 8 kB / 1.036 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4673, allocations: 4 kB / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.4673, allocations: 0 / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4673, allocations: 0 / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.4673, allocations: 0 / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.4677, allocations: 187.3 kB / 1.037 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.4678, allocations: 81.09 kB / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4678, allocations: 256 / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.468, allocations: 8 kB / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.468, allocations: 12.02 kB / 1.037 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.468, allocations: 0 / 1.037 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.784e-05/0.4681, allocations: 83.28 kB / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/0.4681, allocations: 0 / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004475/0.4686, allocations: 16 kB / 1.037 GB, free: 3.445 MB / 0.6823 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.000905/0.4695, allocations: 0.7242 MB / 1.037 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.4699, allocations: 55.94 kB / 1.037 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4699, allocations: 0 / 1.037 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.4701, allocations: 31.97 kB / 1.037 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.4704, allocations: 0 / 1.037 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007264/0.4712, allocations: 162.3 kB / 1.038 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.4716, allocations: 0.6809 MB / 1.038 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.246e-05/0.4717, allocations: 0 / 1.038 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.4717, allocations: 11.44 kB / 1.038 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/0.4717, allocations: 0 / 1.038 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.4902, allocations: 1.306 MB / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/0.4906, allocations: 183.4 kB / 1.04 GB, free: 280 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/1.939, allocations: 0 / 1.04 GB, free: 280 kB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)