Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.584/2.584, allocations: 287.3 MB / 302.3 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 188.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.282/2.282, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 104.9 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007235/0.0007238, allocations: 13.45 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2159, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.997/1.213, allocations: 138.4 MB / 1.113 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.213, allocations: 73.89 kB / 1.114 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0205/1.234, allocations: 4.317 MB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/1.234, allocations: 0 / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.727e-06/1.234, allocations: 0 / 1.118 GB, free: 31.38 MB / 0.698 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.0005879/1.234, allocations: 389.8 kB / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.234, allocations: 11.67 kB / 1.118 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/1.235, allocations: 31.22 kB / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/1.235, allocations: 3.812 kB / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/1.235, allocations: 164.5 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.235, allocations: 0 / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/1.235, allocations: 3.875 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/1.235, allocations: 62.53 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.235, allocations: 0 / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/1.235, allocations: 0 / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.235, allocations: 0 / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/1.235, allocations: 47.44 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/1.236, allocations: 267.2 kB / 1.119 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/1.236, allocations: 47.8 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009083/1.237, allocations: 464.3 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.237, allocations: 34.56 kB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.234e-06/1.237, allocations: 0 / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005762/1.238, allocations: 102.6 kB / 1.119 GB, free: 29.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.238, allocations: 55.28 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/1.238, allocations: 99.59 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/1.238, allocations: 25.7 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/1.238, allocations: 84.02 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/1.238, allocations: 11.28 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/1.238, allocations: 0 / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.238, allocations: 317.4 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/1.238, allocations: 26.47 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/1.238, allocations: 25.2 kB / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/1.238, allocations: 24.97 kB / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.238, allocations: 4 kB / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003653/1.239, allocations: 72.06 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.239, allocations: 7.75 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.239, allocations: 0 / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.239, allocations: 0 / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/1.239, allocations: 22.48 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.239, allocations: 0 / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/1.239, allocations: 10.98 kB / 1.12 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/1.239, allocations: 3.812 kB / 1.12 GB, free: 29.21 MB / 0.698 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.0001018/1.239, allocations: 115.5 kB / 1.12 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/1.239, allocations: 0 / 1.12 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/1.24, allocations: 100.4 kB / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.24, allocations: 0 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.24, allocations: 0 / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/1.24, allocations: 3.984 kB / 1.12 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/1.24, allocations: 162.7 kB / 1.12 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.24, allocations: 4.031 kB / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/1.24, allocations: 14.11 kB / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.24, allocations: 0 / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-06/1.24, allocations: 3.047 kB / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.24, allocations: 0 / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.24, allocations: 0 / 1.12 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/1.241, allocations: 180 kB / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/1.241, allocations: 80.89 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.241, allocations: 0 / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/1.241, allocations: 6.984 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/1.241, allocations: 7.016 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/1.241, allocations: 7.906 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.423e-05/1.241, allocations: 79.41 kB / 1.121 GB, free: 28.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/1.241, allocations: 0 / 1.121 GB, free: 28.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000312/1.241, allocations: 14.64 kB / 1.121 GB, free: 28.54 MB / 0.698 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.0008527/1.242, allocations: 0.7281 MB / 1.122 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003585/1.243, allocations: 53.27 kB / 1.122 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.243, allocations: 0 / 1.122 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/1.243, allocations: 23.44 kB / 1.122 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/1.243, allocations: 6.266 kB / 1.122 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/1.244, allocations: 150.9 kB / 1.122 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/1.244, allocations: 0.6853 MB / 1.122 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.936e-05/1.244, allocations: 0 / 1.122 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/1.244, allocations: 15.16 kB / 1.122 GB, free: 26.99 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/1.244, allocations: 0 / 1.122 GB, free: 26.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/1.267, allocations: 1.301 MB / 1.124 GB, free: 26.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/1.268, allocations: 179.4 kB / 1.124 GB, free: 26.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.65, allocations: 0 / 1.124 GB, free: 26.58 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)