Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",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.000981/0.000981, allocations: 179.5 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.4865/0.4865, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.324/1.324, allocations: 221.3 MB / 348.3 MB, free: 480 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.0008999/0.0009, allocations: 109.4 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.702e-05, allocations: 0 / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3632, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.4976, allocations: 109.4 MB / 0.6672 GB, free: 10.85 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.498, allocations: 75.95 kB / 0.6673 GB, free: 10.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04731/0.5453, allocations: 16.9 MB / 0.6838 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5453, allocations: 4 kB / 0.6838 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.99e-05/0.5455, allocations: 15.94 kB / 0.6838 GB, free: 9.832 MB / 0.4948 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.002079/0.5475, allocations: 0.9509 MB / 0.6847 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.5476, allocations: 11.98 kB / 0.6847 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002127/0.5478, allocations: 90.52 kB / 0.6848 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.5482, allocations: 94.88 kB / 0.6849 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.5494, allocations: 0.5823 MB / 0.6855 GB, free: 8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.5496, allocations: 104.4 kB / 0.6856 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.5497, allocations: 51.98 kB / 0.6856 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.5508, allocations: 0.5786 MB / 0.6862 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5508, allocations: 0 / 0.6862 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.5509, allocations: 20.66 kB / 0.6862 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.5509, allocations: 19.98 kB / 0.6862 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007394/0.5516, allocations: 375.8 kB / 0.6866 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/0.5551, allocations: 2.215 MB / 0.6887 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.556, allocations: 456.1 kB / 0.6892 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.5563, allocations: 166.7 kB / 0.6893 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.5564, allocations: 9.094 kB / 0.6893 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004632/0.5568, allocations: 261.9 kB / 0.6896 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 2.574e-06/0.5569, allocations: 0 / 0.6896 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45): time 0.0007995/0.5577, allocations: 412.8 kB / 0.69 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5578, allocations: 195.9 kB / 0.6902 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.5585, allocations: 0.535 MB / 0.6907 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.5586, allocations: 33.7 kB / 0.6907 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.5588, allocations: 360.8 kB / 0.6911 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.559, allocations: 165.7 kB / 0.6912 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.559, allocations: 8 kB / 0.6912 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5591, allocations: 328.4 kB / 0.6916 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.5594, allocations: 145.1 kB / 0.6917 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.5598, allocations: 287.7 kB / 0.692 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.5601, allocations: 195.3 kB / 0.6922 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5601, allocations: 0 / 0.6922 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008642/0.561, allocations: 0.5436 MB / 0.6927 GB, free: 312 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004242/0.5614, allocations: 0.9959 MB / 0.6937 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5614, allocations: 4 kB / 0.6937 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.5615, allocations: 4 kB / 0.6937 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.562, allocations: 127.8 kB / 0.6938 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.562, allocations: 4 kB / 0.6938 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.5626, allocations: 87.48 kB / 0.6939 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.5626, allocations: 20 kB / 0.6939 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.5626, allocations: 4 kB / 0.6939 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007535/0.5634, allocations: 467.8 kB / 0.6943 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5634, allocations: 320 / 0.6943 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.5634, allocations: 8 kB / 0.6944 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.5639, allocations: 115.8 kB / 0.6945 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.5639, allocations: 8 kB / 0.6945 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.5644, allocations: 75.56 kB / 0.6945 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.5645, allocations: 23.98 kB / 0.6946 GB, free: 14.29 MB / 0.5105 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.000164/0.5646, allocations: 133.6 kB / 0.6947 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.5647, allocations: 75.16 kB / 0.6948 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.5649, allocations: 75 kB / 0.6948 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5649, allocations: 4 kB / 0.6948 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.565, allocations: 0 / 0.6948 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.565, allocations: 5.109 kB / 0.6948 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.5658, allocations: 0.6608 MB / 0.6955 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.5658, allocations: 0 / 0.6955 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.5663, allocations: 99.81 kB / 0.6956 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.5663, allocations: 4 kB / 0.6956 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.5663, allocations: 8 kB / 0.6956 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5663, allocations: 4 kB / 0.6956 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5663, allocations: 0 / 0.6956 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.5674, allocations: 0.6573 MB / 0.6962 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.5677, allocations: 208 kB / 0.6964 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.5677, allocations: 8 kB / 0.6964 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/0.5683, allocations: 68.12 kB / 0.6965 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.5684, allocations: 28.52 kB / 0.6965 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.5684, allocations: 23.98 kB / 0.6966 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005109/0.5689, allocations: 423.2 kB / 0.697 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5689, allocations: 0 / 0.697 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006467/0.5696, allocations: 239.2 kB / 0.6972 GB, free: 11.5 MB / 0.5105 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.001296/0.5709, allocations: 1.226 MB / 0.6984 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.572, allocations: 0.7432 MB / 0.6991 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.572, allocations: 0 / 0.6991 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.5723, allocations: 196.2 kB / 0.6993 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.5731, allocations: 170.1 kB / 0.6995 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.5752, allocations: 1.006 MB / 0.7005 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.5757, allocations: 0.9352 MB / 0.7014 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006103/0.5763, allocations: 135.7 kB / 0.7015 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.5767, allocations: 255.3 kB / 0.7017 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/0.5767, allocations: 0 / 0.7017 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3234/0.9001, allocations: 14.98 MB / 0.7164 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.9003, allocations: 150.3 kB / 0.7165 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.384, allocations: 0 / 0.7165 GB, free: 133.9 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)