Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9811/0.9811, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 8 kB / 0.5159 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1896, allocations: 83.42 MB / 0.5973 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004177/0.1938, allocations: 3.659 MB / 0.6009 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.1965, allocations: 1.434 MB / 0.6023 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005522/0.197, allocations: 31.81 kB / 0.6023 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.1972, allocations: 67.17 kB / 0.6024 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007888/0.198, allocations: 251.1 kB / 0.6027 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.1994, allocations: 0.5159 MB / 0.6032 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.2007, allocations: 0.7782 MB / 0.6039 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.2014, allocations: 351.4 kB / 0.6043 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.202, allocations: 374.2 kB / 0.6046 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3809/0.5829, allocations: 323.2 kB / 0.6049 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000358/0.5833, allocations: 25.98 kB / 0.6049 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.5835, allocations: 26.69 kB / 0.605 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.5837, allocations: 139.4 kB / 0.6051 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.5839, allocations: 172.9 kB / 0.6053 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.5847, allocations: 0.8467 MB / 0.6061 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5847, allocations: 0 / 0.6061 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5847, allocations: 1.438 kB / 0.6061 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.5848, allocations: 0 / 0.6061 GB, free: 35.66 MB / 0.4981 GB 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.002097/0.5869, allocations: 1.252 MB / 0.6073 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5869, allocations: 8.844 kB / 0.6073 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.5871, allocations: 115.8 kB / 0.6074 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.5872, allocations: 120.4 kB / 0.6075 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.5883, allocations: 0.6907 MB / 0.6082 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.985e-05/0.5884, allocations: 85.12 kB / 0.6083 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/0.5885, allocations: 77.78 kB / 0.6084 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.5896, allocations: 0.7252 MB / 0.6091 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5897, allocations: 0.8438 kB / 0.6091 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.5897, allocations: 32.75 kB / 0.6091 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.5897, allocations: 15.34 kB / 0.6091 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009995/0.5907, allocations: 0.5257 MB / 0.6096 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.5936, allocations: 2.302 MB / 0.6119 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.595, allocations: 0.6481 MB / 0.6125 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.595, allocations: 6.562 kB / 0.6125 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/0.5957, allocations: 321.5 kB / 0.6128 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.224e-06/0.5957, allocations: 0 / 0.6128 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001596/0.5973, allocations: 0.7683 MB / 0.6136 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.5973, allocations: 88.89 kB / 0.6137 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007214/0.5981, allocations: 0.7417 MB / 0.6144 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.5981, allocations: 42.27 kB / 0.6144 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.5984, allocations: 442.1 kB / 0.6149 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.5986, allocations: 208.4 kB / 0.6151 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.5986, allocations: 11.84 kB / 0.6151 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/0.5987, allocations: 330 kB / 0.6154 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.5991, allocations: 203.4 kB / 0.6156 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.5996, allocations: 312.2 kB / 0.6159 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.6, allocations: 235.8 kB / 0.6161 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6, allocations: 2.688 kB / 0.6161 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001397/0.6014, allocations: 0.6587 MB / 0.6167 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.6016, allocations: 0.8883 MB / 0.6176 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.6016, allocations: 2.812 kB / 0.6176 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.6016, allocations: 5.812 kB / 0.6176 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.6023, allocations: 150.2 kB / 0.6178 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.6023, allocations: 6.625 kB / 0.6178 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.6027, allocations: 72.59 kB / 0.6178 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.6028, allocations: 23.28 kB / 0.6179 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.6028, allocations: 2.688 kB / 0.6179 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000872/0.6037, allocations: 0.5216 MB / 0.6184 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.6037, allocations: 2.969 kB / 0.6184 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.6037, allocations: 7.188 kB / 0.6184 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.6043, allocations: 147.3 kB / 0.6185 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6043, allocations: 11.55 kB / 0.6185 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.6047, allocations: 64.94 kB / 0.6186 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.6047, allocations: 27.48 kB / 0.6186 GB, free: 31.3 MB / 0.4981 GB 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,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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.0003468/0.6051, allocations: 293.4 kB / 0.6189 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.6052, allocations: 95.34 kB / 0.619 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.6054, allocations: 103.6 kB / 0.6191 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6054, allocations: 8.438 kB / 0.6191 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.6054, allocations: 2.359 kB / 0.6191 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.6054, allocations: 3.375 kB / 0.6191 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.6075, allocations: 1.45 MB / 0.6205 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6075, allocations: 6.594 kB / 0.6205 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005417/0.608, allocations: 105.4 kB / 0.6206 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.6081, allocations: 2.844 kB / 0.6206 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.6081, allocations: 14.31 kB / 0.6206 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.6081, allocations: 4.188 kB / 0.6207 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6081, allocations: 3.953 kB / 0.6207 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.6097, allocations: 0.9724 MB / 0.6216 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.6099, allocations: 223.3 kB / 0.6218 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.61, allocations: 14.06 kB / 0.6218 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.6104, allocations: 43.86 kB / 0.6219 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.6105, allocations: 40.16 kB / 0.6219 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.6106, allocations: 19.38 kB / 0.6219 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005188/0.6111, allocations: 0.51 MB / 0.6224 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6111, allocations: 0 / 0.6224 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006956/0.6118, allocations: 276.6 kB / 0.6227 GB, free: 30.19 MB / 0.4981 GB 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 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.001751/0.6136, allocations: 1.54 MB / 0.6242 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.6151, allocations: 0.7989 MB / 0.625 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6151, allocations: 3 kB / 0.625 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.6156, allocations: 273.3 kB / 0.6252 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.6166, allocations: 236.8 kB / 0.6255 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.6196, allocations: 3.629 MB / 0.629 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.62, allocations: 1.012 MB / 0.63 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004798/0.6205, allocations: 120.5 kB / 0.6301 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.6209, allocations: 352.2 kB / 0.6304 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.6209, allocations: 0 / 0.6304 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.6538, allocations: 15.97 MB / 0.646 GB, free: 24.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.654, allocations: 198 kB / 0.6462 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.795, allocations: 3.938 kB / 0.6462 GB, free: 24.17 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) Environment - environmentSimulation: