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.8536/0.8536, allocations: 141.8 MB / 149.3 MB, free: 9.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 188.6 kB / 182.2 MB, free: 9.422 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.441/1.441, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009394/0.0009394, allocations: 96.03 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 281.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.801e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4209, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.5747, allocations: 116.3 MB / 0.871 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.5751, allocations: 75.95 kB / 0.8711 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05615/0.6313, allocations: 19.68 MB / 0.8903 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6313, allocations: 0 / 0.8903 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.253e-05/0.6314, allocations: 28 kB / 0.8903 GB, free: 7.695 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.001971/0.6334, allocations: 1.078 MB / 0.8914 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.6335, allocations: 8.031 kB / 0.8914 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.6338, allocations: 126.5 kB / 0.8915 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.6352, allocations: 0.719 MB / 0.8922 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.611e-05/0.6353, allocations: 67.69 kB / 0.8923 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.221e-05/0.6354, allocations: 44 kB / 0.8923 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008593/0.6362, allocations: 444 kB / 0.8927 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.6373, allocations: 0.6261 MB / 0.8933 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6373, allocations: 0 / 0.8933 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.6374, allocations: 7.953 kB / 0.8933 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.6374, allocations: 19.98 kB / 0.8934 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003486/0.6409, allocations: 2.211 MB / 0.8955 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.642, allocations: 0.5559 MB / 0.8961 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.6423, allocations: 206.5 kB / 0.8963 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.064e-05/0.6424, allocations: 12.55 kB / 0.8963 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.6429, allocations: 286.2 kB / 0.8965 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 4.198e-06/0.6429, allocations: 0 / 0.8965 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.0009162/0.6438, allocations: 494.6 kB / 0.897 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.6439, allocations: 137 kB / 0.8972 GB, free: 440 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4218/1.066, allocations: 0.5477 MB / 0.8977 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001984/1.066, allocations: 27.41 kB / 0.8977 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/1.066, allocations: 443.6 kB / 0.8981 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/1.067, allocations: 197.9 kB / 0.8983 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/1.067, allocations: 1.656 kB / 0.8983 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/1.067, allocations: 331.6 kB / 0.8986 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/1.067, allocations: 167.2 kB / 0.8988 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/1.067, allocations: 287.8 kB / 0.8991 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/1.068, allocations: 200.2 kB / 0.8993 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.068, allocations: 0.7812 kB / 0.8993 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001148/1.069, allocations: 0.556 MB / 0.8998 GB, free: 125 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/1.069, allocations: 0.8821 MB / 0.9007 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.069, allocations: 2.719 kB / 0.9007 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.069, allocations: 5.516 kB / 0.9007 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/1.07, allocations: 158.8 kB / 0.9008 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/1.07, allocations: 5.281 kB / 0.9008 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/1.071, allocations: 65.44 kB / 0.9009 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/1.071, allocations: 21.62 kB / 0.9009 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/1.071, allocations: 5.016 kB / 0.9009 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008482/1.072, allocations: 447.2 kB / 0.9014 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.072, allocations: 4.938 kB / 0.9014 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/1.072, allocations: 6.25 kB / 0.9014 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/1.073, allocations: 151.6 kB / 0.9015 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.073, allocations: 11.67 kB / 0.9015 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/1.073, allocations: 53.88 kB / 0.9016 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/1.073, allocations: 20.02 kB / 0.9016 GB, free: 124.1 MB / 0.5573 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.0001754/1.074, allocations: 118 kB / 0.9017 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008874/1.074, allocations: 499.1 kB / 0.9022 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/1.075, allocations: 89.39 kB / 0.9023 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/1.075, allocations: 97.95 kB / 0.9024 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.075, allocations: 10.56 kB / 0.9024 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.075, allocations: 0 / 0.9024 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.075, allocations: 3.375 kB / 0.9024 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/1.077, allocations: 1.308 MB / 0.9036 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.077, allocations: 0.6875 kB / 0.9036 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/1.078, allocations: 120.4 kB / 0.9038 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/1.078, allocations: 5.828 kB / 0.9038 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/1.078, allocations: 6.922 kB / 0.9038 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/1.078, allocations: 2.156 kB / 0.9038 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.078, allocations: 0.5938 kB / 0.9038 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/1.079, allocations: 0.8685 MB / 0.9046 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/1.08, allocations: 221 kB / 0.9048 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/1.08, allocations: 8.484 kB / 0.9048 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/1.08, allocations: 43.19 kB / 0.9049 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.081, allocations: 34.41 kB / 0.9049 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/1.081, allocations: 18.02 kB / 0.9049 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000682/1.081, allocations: 433.7 kB / 0.9053 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.081, allocations: 0 / 0.9053 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001187/1.083, allocations: 269.4 kB / 0.9056 GB, free: 123.1 MB / 0.5573 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.00197/1.085, allocations: 1.42 MB / 0.907 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001716/1.086, allocations: 0.7347 MB / 0.9077 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.086, allocations: 1.406 kB / 0.9077 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004387/1.087, allocations: 240.6 kB / 0.9079 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/1.088, allocations: 220.4 kB / 0.9081 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/1.091, allocations: 1.272 MB / 0.9094 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/1.092, allocations: 1.013 MB / 0.9104 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008072/1.092, allocations: 164.4 kB / 0.9105 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/1.093, allocations: 345.6 kB / 0.9109 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/1.093, allocations: 0 / 0.9109 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03939/1.132, allocations: 16.74 MB / 0.9272 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/1.132, allocations: 149 kB / 0.9274 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/3.702, allocations: 0 / 0.9274 GB, free: 114.9 MB / 0.5573 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)