Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",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.001491/0.001491, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5394/0.5394, allocations: 90.91 MB / 99.34 MB, free: 2.223 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009239, allocations: 101.3 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.523e-05, allocations: 0 / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4765/0.6017, allocations: 109.2 MB / 0.6602 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.602, allocations: 75.84 kB / 0.6603 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05201/0.654, allocations: 19.68 MB / 0.6795 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.654, allocations: 0 / 0.6795 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001212/0.6542, allocations: 32.11 kB / 0.6795 GB, free: 0.5664 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002112/0.6563, allocations: 1.075 MB / 0.6806 GB, free: 15.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.6563, allocations: 12.03 kB / 0.6806 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.6567, allocations: 118.6 kB / 0.6807 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.6581, allocations: 0.7337 MB / 0.6814 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.801e-05/0.6582, allocations: 59.66 kB / 0.6815 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.6584, allocations: 43.91 kB / 0.6815 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000753/0.6591, allocations: 452.8 kB / 0.6819 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009271/0.6601, allocations: 0.6214 MB / 0.6826 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.6601, allocations: 4 kB / 0.6826 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.6602, allocations: 0 / 0.6826 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.6602, allocations: 16 kB / 0.6826 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.6632, allocations: 2.212 MB / 0.6847 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.6641, allocations: 0.561 MB / 0.6853 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.6644, allocations: 204.4 kB / 0.6855 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/0.6645, allocations: 4.562 kB / 0.6855 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/0.6649, allocations: 286.9 kB / 0.6858 GB, free: 11.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=60): time 1.994e-06/0.6649, allocations: 0 / 0.6858 GB, free: 11.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.0007574/0.6657, allocations: 495.4 kB / 0.6862 GB, free: 10.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.6658, allocations: 141 kB / 0.6864 GB, free: 10.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.6664, allocations: 0.5574 MB / 0.6869 GB, free: 10.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.6665, allocations: 29.33 kB / 0.6869 GB, free: 10.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.6667, allocations: 445.1 kB / 0.6874 GB, free: 10.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.6669, allocations: 197.8 kB / 0.6875 GB, free: 9.891 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.6669, allocations: 0 / 0.6875 GB, free: 9.891 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.667, allocations: 328.5 kB / 0.6879 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.6673, allocations: 168.2 kB / 0.688 GB, free: 9.484 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.6676, allocations: 286.1 kB / 0.6883 GB, free: 9.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.6679, allocations: 199.1 kB / 0.6885 GB, free: 9.137 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6679, allocations: 3.984 kB / 0.6885 GB, free: 9.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008061/0.6687, allocations: 0.554 MB / 0.689 GB, free: 8.715 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000314/0.6691, allocations: 0.8782 MB / 0.6899 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6691, allocations: 8 kB / 0.6899 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.6691, allocations: 11.94 kB / 0.6899 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/0.6699, allocations: 155 kB / 0.6901 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.67, allocations: 4 kB / 0.6901 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.6705, allocations: 71.48 kB / 0.6901 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.6705, allocations: 22.44 kB / 0.6901 GB, free: 7.531 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.6705, allocations: 4 kB / 0.6902 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006395/0.6712, allocations: 440.8 kB / 0.6906 GB, free: 7.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6712, allocations: 4.234 kB / 0.6906 GB, free: 7.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/0.6712, allocations: 12 kB / 0.6906 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.672, allocations: 154.6 kB / 0.6907 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.672, allocations: 4 kB / 0.6907 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.6724, allocations: 55.56 kB / 0.6908 GB, free: 7.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.6725, allocations: 30.73 kB / 0.6908 GB, free: 6.988 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001495/0.6726, allocations: 124 kB / 0.6909 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007043/0.6733, allocations: 494.3 kB / 0.6914 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.6734, allocations: 86.88 kB / 0.6915 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.6737, allocations: 92.86 kB / 0.6916 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.6737, allocations: 4 kB / 0.6916 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6737, allocations: 0 / 0.6916 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6737, allocations: 7.984 kB / 0.6916 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.6754, allocations: 1.322 MB / 0.6929 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6754, allocations: 0 / 0.6929 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.676, allocations: 111.9 kB / 0.693 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.676, allocations: 4 kB / 0.693 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.6761, allocations: 4 kB / 0.693 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6761, allocations: 4 kB / 0.693 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6761, allocations: 0 / 0.693 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.6772, allocations: 0.8694 MB / 0.6939 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.6775, allocations: 223.8 kB / 0.6941 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.6776, allocations: 4 kB / 0.6941 GB, free: 3.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.6781, allocations: 43.95 kB / 0.6941 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.6782, allocations: 40.5 kB / 0.6941 GB, free: 3.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.6782, allocations: 19.98 kB / 0.6942 GB, free: 3.547 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004874/0.6787, allocations: 431.2 kB / 0.6946 GB, free: 3.129 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6787, allocations: 0 / 0.6946 GB, free: 3.129 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007102/0.6794, allocations: 264.6 kB / 0.6948 GB, free: 2.871 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001416/0.6809, allocations: 1.428 MB / 0.6962 GB, free: 1.418 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.682, allocations: 0.7319 MB / 0.6969 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.682, allocations: 8.188 kB / 0.6969 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.6823, allocations: 238 kB / 0.6972 GB, free: 456 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.6834, allocations: 209.9 kB / 0.6974 GB, free: 252 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.6859, allocations: 1.259 MB / 0.6986 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.6864, allocations: 1.018 MB / 0.6996 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007114/0.6872, allocations: 161 kB / 0.6998 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.6876, allocations: 347.3 kB / 0.7001 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.6876, allocations: 0 / 0.7001 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.7268, allocations: 16.71 MB / 0.7164 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.727, allocations: 136.8 kB / 0.7165 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/3.051, allocations: 0 / 0.7165 GB, free: 12.62 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)