Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7308/0.7308, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 186.7 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 97.45 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 274.1 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.181e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4058, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.529, allocations: 116.9 MB / 0.8785 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5293, allocations: 79.95 kB / 0.8786 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05122/0.5805, allocations: 19.82 MB / 0.898 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5805, allocations: 3.938 kB / 0.898 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.607e-05/0.5806, allocations: 32.12 kB / 0.898 GB, free: 3.648 MB / 0.5573 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.001682/0.5823, allocations: 1.078 MB / 0.8991 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5824, allocations: 12.02 kB / 0.8991 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.5825, allocations: 106.5 kB / 0.8992 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.5827, allocations: 126.5 kB / 0.8993 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.5839, allocations: 0.7307 MB / 0.9 GB, free: 1.496 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.489e-05/0.584, allocations: 75.7 kB / 0.9001 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.5841, allocations: 75.98 kB / 0.9002 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5852, allocations: 0.7199 MB / 0.9009 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.5852, allocations: 0 / 0.9009 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/0.5853, allocations: 31.95 kB / 0.9009 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.5853, allocations: 16 kB / 0.9009 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.5861, allocations: 489.1 kB / 0.9014 GB, free: 52 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.5892, allocations: 2.357 MB / 0.9037 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.5902, allocations: 0.5858 MB / 0.9042 GB, free: 13.03 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.5906, allocations: 222.5 kB / 0.9045 GB, free: 12.81 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.045e-05/0.5906, allocations: 16.55 kB / 0.9045 GB, free: 12.79 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.5911, allocations: 303.2 kB / 0.9048 GB, free: 12.48 MB / 0.573 GB Notification: Performance of pre-optimization done (n=60): time 2.104e-06/0.5911, allocations: 0 / 0.9048 GB, free: 12.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=60): time 0.0008322/0.592, allocations: 0.5257 MB / 0.9053 GB, free: 11.94 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.5921, allocations: 137.1 kB / 0.9054 GB, free: 11.78 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/0.5928, allocations: 0.6456 MB / 0.906 GB, free: 11.12 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.5929, allocations: 41.7 kB / 0.9061 GB, free: 11.08 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.5932, allocations: 436.5 kB / 0.9065 GB, free: 10.64 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.5934, allocations: 201 kB / 0.9067 GB, free: 10.45 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.5934, allocations: 16 kB / 0.9067 GB, free: 10.43 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5936, allocations: 326 kB / 0.907 GB, free: 10.11 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.5939, allocations: 189.5 kB / 0.9072 GB, free: 9.918 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.5943, allocations: 295.5 kB / 0.9075 GB, free: 9.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.5947, allocations: 215.2 kB / 0.9077 GB, free: 9.379 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5947, allocations: 0 / 0.9077 GB, free: 9.379 MB / 0.573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009375/0.5956, allocations: 0.6072 MB / 0.9083 GB, free: 8.766 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003795/0.596, allocations: 0.8766 MB / 0.9091 GB, free: 7.824 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.596, allocations: 0 / 0.9091 GB, free: 7.824 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.5961, allocations: 8 kB / 0.9091 GB, free: 7.816 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008621/0.5969, allocations: 163.8 kB / 0.9093 GB, free: 7.656 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.597, allocations: 7.938 kB / 0.9093 GB, free: 7.648 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.5975, allocations: 91.3 kB / 0.9094 GB, free: 7.559 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.5975, allocations: 27.98 kB / 0.9094 GB, free: 7.531 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.5975, allocations: 4 kB / 0.9094 GB, free: 7.527 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008201/0.5984, allocations: 0.4894 MB / 0.9099 GB, free: 7.035 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5984, allocations: 4 kB / 0.9099 GB, free: 7.031 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.5984, allocations: 4 kB / 0.9099 GB, free: 7.027 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007509/0.5991, allocations: 160 kB / 0.91 GB, free: 6.871 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.5992, allocations: 18.14 kB / 0.9101 GB, free: 6.855 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.5996, allocations: 75.41 kB / 0.9101 GB, free: 6.781 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.5997, allocations: 23.98 kB / 0.9102 GB, free: 6.758 MB / 0.573 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,$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.0001369/0.5998, allocations: 142.6 kB / 0.9103 GB, free: 6.613 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.5999, allocations: 94.83 kB / 0.9104 GB, free: 6.52 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.6001, allocations: 101.2 kB / 0.9105 GB, free: 6.422 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6001, allocations: 8 kB / 0.9105 GB, free: 6.414 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6001, allocations: 0 / 0.9105 GB, free: 6.414 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.6002, allocations: 3.984 kB / 0.9105 GB, free: 6.41 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.602, allocations: 1.446 MB / 0.9119 GB, free: 4.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.602, allocations: 0 / 0.9119 GB, free: 4.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/0.6026, allocations: 111.9 kB / 0.912 GB, free: 4.801 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.6026, allocations: 4 kB / 0.912 GB, free: 4.797 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.6027, allocations: 12 kB / 0.912 GB, free: 4.785 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6027, allocations: 0 / 0.912 GB, free: 4.785 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6027, allocations: 4 kB / 0.912 GB, free: 4.781 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.604, allocations: 0.9162 MB / 0.9129 GB, free: 3.848 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.6043, allocations: 235.7 kB / 0.9132 GB, free: 3.598 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.6044, allocations: 16 kB / 0.9132 GB, free: 3.582 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.6049, allocations: 55.95 kB / 0.9132 GB, free: 3.527 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.605, allocations: 32.52 kB / 0.9133 GB, free: 3.496 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.605, allocations: 19.98 kB / 0.9133 GB, free: 3.477 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005915/0.6056, allocations: 0.5031 MB / 0.9138 GB, free: 2.977 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6056, allocations: 0 / 0.9138 GB, free: 2.977 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007089/0.6064, allocations: 283.1 kB / 0.914 GB, free: 2.699 MB / 0.573 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 (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.001552/0.6079, allocations: 1.491 MB / 0.9155 GB, free: 1.184 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.6091, allocations: 0.7825 MB / 0.9163 GB, free: 408 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6091, allocations: 0 / 0.9163 GB, free: 408 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.6095, allocations: 255.3 kB / 0.9165 GB, free: 156 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3275/0.937, allocations: 225 kB / 0.9167 GB, free: 136.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.9404, allocations: 1.319 MB / 0.918 GB, free: 136.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.941, allocations: 1.015 MB / 0.919 GB, free: 135.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009081/0.9419, allocations: 168.9 kB / 0.9192 GB, free: 135.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.9424, allocations: 343.6 kB / 0.9195 GB, free: 135.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.383e-06/0.9424, allocations: 0 / 0.9195 GB, free: 135.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.9812, allocations: 18.4 MB / 0.9374 GB, free: 133.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/0.9814, allocations: 170.7 kB / 0.9376 GB, free: 133.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.351, allocations: 0 / 0.9376 GB, free: 133.2 MB / 0.573 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)