Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001272/0.001272, allocations: 180.7 kB / 371.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 90.28 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.117e-05/4.119e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3068, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.31, allocations: 147 MB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/1.31, allocations: 75.56 kB / 1.124 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04391/1.354, allocations: 16.93 MB / 1.14 GB, free: 29.81 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.004e-06/1.354, allocations: 4 kB / 1.14 GB, free: 29.81 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.974e-05/1.354, allocations: 19.94 kB / 1.14 GB, free: 29.79 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001517/1.356, allocations: 0.9374 MB / 1.141 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.356, allocations: 8.031 kB / 1.141 GB, free: 28.94 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/1.356, allocations: 88.89 kB / 1.141 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/1.356, allocations: 98.78 kB / 1.141 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009871/1.357, allocations: 0.5904 MB / 1.142 GB, free: 28.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/1.357, allocations: 98.86 kB / 1.142 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/1.357, allocations: 56.72 kB / 1.142 GB, free: 28.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009609/1.358, allocations: 0.5823 MB / 1.142 GB, free: 27.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.358, allocations: 0 / 1.142 GB, free: 27.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/1.358, allocations: 25.73 kB / 1.143 GB, free: 27.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/1.358, allocations: 19.95 kB / 1.143 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005598/1.359, allocations: 373.3 kB / 1.143 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/1.362, allocations: 2.217 MB / 1.145 GB, free: 25.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/1.363, allocations: 451.2 kB / 1.145 GB, free: 25.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/1.363, allocations: 174.2 kB / 1.146 GB, free: 25.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/1.363, allocations: 8.703 kB / 1.146 GB, free: 25.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004635/1.363, allocations: 252.5 kB / 1.146 GB, free: 25.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 3.146e-06/1.363, allocations: 0 / 1.146 GB, free: 25.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0006884/1.364, allocations: 407.8 kB / 1.146 GB, free: 25.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/1.364, allocations: 189 kB / 1.146 GB, free: 24.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006291/1.365, allocations: 0.5322 MB / 1.147 GB, free: 24.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/1.365, allocations: 42.58 kB / 1.147 GB, free: 24.53 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/1.365, allocations: 365.7 kB / 1.147 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/1.365, allocations: 153.3 kB / 1.148 GB, free: 24.22 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/1.365, allocations: 10.62 kB / 1.148 GB, free: 24.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.366, allocations: 333.6 kB / 1.148 GB, free: 23.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/1.366, allocations: 149.6 kB / 1.148 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/1.366, allocations: 280 kB / 1.148 GB, free: 23.58 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/1.366, allocations: 202.5 kB / 1.148 GB, free: 23.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.366, allocations: 0 / 1.148 GB, free: 23.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007882/1.367, allocations: 0.5455 MB / 1.149 GB, free: 23.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002582/1.368, allocations: 0.9889 MB / 1.15 GB, free: 22.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.368, allocations: 4 kB / 1.15 GB, free: 22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.368, allocations: 4 kB / 1.15 GB, free: 22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/1.368, allocations: 127.9 kB / 1.15 GB, free: 21.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/1.368, allocations: 6.828 kB / 1.15 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/1.369, allocations: 77.12 kB / 1.15 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/1.369, allocations: 19.94 kB / 1.15 GB, free: 21.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/1.369, allocations: 8.75 kB / 1.15 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006733/1.369, allocations: 461.8 kB / 1.151 GB, free: 21.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/1.369, allocations: 4.656 kB / 1.151 GB, free: 21.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/1.369, allocations: 7.953 kB / 1.151 GB, free: 21.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/1.37, allocations: 119.6 kB / 1.151 GB, free: 21.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/1.37, allocations: 8.5 kB / 1.151 GB, free: 21.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/1.37, allocations: 75.92 kB / 1.151 GB, free: 21.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/1.37, allocations: 21.17 kB / 1.151 GB, free: 21.33 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001567/1.371, allocations: 140.2 kB / 1.151 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/1.371, allocations: 71.72 kB / 1.151 GB, free: 21.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/1.371, allocations: 81.89 kB / 1.151 GB, free: 21.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.371, allocations: 7.953 kB / 1.151 GB, free: 21.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.371, allocations: 0 / 1.151 GB, free: 21.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/1.371, allocations: 3.094 kB / 1.151 GB, free: 21.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/1.372, allocations: 0.6535 MB / 1.152 GB, free: 20.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.372, allocations: 0.5625 kB / 1.152 GB, free: 20.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/1.372, allocations: 94.7 kB / 1.152 GB, free: 20.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.372, allocations: 4.75 kB / 1.152 GB, free: 20.62 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/1.372, allocations: 11.2 kB / 1.152 GB, free: 20.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.372, allocations: 0.6562 kB / 1.152 GB, free: 20.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.372, allocations: 7.078 kB / 1.152 GB, free: 20.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009278/1.373, allocations: 0.6675 MB / 1.153 GB, free: 20.17 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/1.373, allocations: 202.1 kB / 1.153 GB, free: 20 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/1.374, allocations: 10.97 kB / 1.153 GB, free: 20 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/1.374, allocations: 64.53 kB / 1.153 GB, free: 19.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.374, allocations: 32.34 kB / 1.153 GB, free: 19.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/1.374, allocations: 19.02 kB / 1.153 GB, free: 19.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004693/1.375, allocations: 432.8 kB / 1.153 GB, free: 19.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.375, allocations: 0 / 1.153 GB, free: 19.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006222/1.375, allocations: 237.7 kB / 1.154 GB, free: 19.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001167/1.377, allocations: 1.217 MB / 1.155 GB, free: 18.44 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001059/1.378, allocations: 0.7454 MB / 1.155 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.378, allocations: 0 / 1.155 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/1.378, allocations: 191 kB / 1.156 GB, free: 17.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009424/1.379, allocations: 172.4 kB / 1.156 GB, free: 17.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/1.381, allocations: 1.018 MB / 1.157 GB, free: 16.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/1.381, allocations: 0.9321 MB / 1.158 GB, free: 16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006698/1.382, allocations: 138.1 kB / 1.158 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/1.383, allocations: 257.4 kB / 1.158 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.383, allocations: 0 / 1.158 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/1.416, allocations: 15.06 MB / 1.173 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/1.416, allocations: 149.1 kB / 1.173 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/4.143, allocations: 3.938 kB / 1.173 GB, free: 4.926 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)