Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 289.9 MB / 297.4 MB, free: 6.422 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 180.8 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.2 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009893/0.0009892, allocations: 87.67 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.732e-05, allocations: 3.984 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7099, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2093/0.9192, allocations: 146.8 MB / 1.117 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.9195, allocations: 76.58 kB / 1.117 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05321/0.9727, allocations: 19.72 MB / 1.136 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.213e-06/0.9728, allocations: 0 / 1.136 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.973e-05/0.9729, allocations: 28.12 kB / 1.136 GB, free: 15.59 MB / 0.7448 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.001789/0.9747, allocations: 1.078 MB / 1.137 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.9747, allocations: 8.031 kB / 1.137 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.9749, allocations: 130.5 kB / 1.137 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.9763, allocations: 0.7289 MB / 1.138 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/0.9764, allocations: 63.69 kB / 1.138 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.313e-05/0.9765, allocations: 45.22 kB / 1.138 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008019/0.9773, allocations: 448 kB / 1.138 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/0.9783, allocations: 0.6222 MB / 1.139 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.9783, allocations: 3.938 kB / 1.139 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.9784, allocations: 7.953 kB / 1.139 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.9784, allocations: 20 kB / 1.139 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.9816, allocations: 2.211 MB / 1.141 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.9826, allocations: 0.5671 MB / 1.142 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.983, allocations: 206.5 kB / 1.142 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.983, allocations: 8.562 kB / 1.142 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004621/0.9835, allocations: 280.5 kB / 1.142 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 1.954e-06/0.9835, allocations: 0 / 1.142 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.0008093/0.9843, allocations: 0.4946 MB / 1.143 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.9844, allocations: 137.1 kB / 1.143 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/0.9851, allocations: 0.5592 MB / 1.143 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.9852, allocations: 29.7 kB / 1.143 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.9855, allocations: 444.2 kB / 1.144 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.9857, allocations: 193 kB / 1.144 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.9857, allocations: 0 / 1.144 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9858, allocations: 332.2 kB / 1.144 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.9861, allocations: 173.5 kB / 1.145 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.9865, allocations: 278 kB / 1.145 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.9868, allocations: 202.1 kB / 1.145 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9868, allocations: 0 / 1.145 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008503/0.9877, allocations: 0.5564 MB / 1.146 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003568/0.988, allocations: 0.8754 MB / 1.146 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.988, allocations: 4 kB / 1.146 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9881, allocations: 4 kB / 1.146 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/0.9889, allocations: 167.8 kB / 1.147 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.989, allocations: 8 kB / 1.147 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.9895, allocations: 63.5 kB / 1.147 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.9895, allocations: 23.98 kB / 1.147 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/0.9895, allocations: 4 kB / 1.147 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006993/0.9902, allocations: 441.2 kB / 1.147 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9902, allocations: 7.953 kB / 1.147 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.9903, allocations: 4.25 kB / 1.147 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.991, allocations: 155.8 kB / 1.147 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.9911, allocations: 7.938 kB / 1.147 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.9915, allocations: 59.5 kB / 1.147 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.9916, allocations: 27 kB / 1.147 GB, free: 3.594 MB / 0.7448 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.0001478/0.9917, allocations: 120.8 kB / 1.147 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007499/0.9925, allocations: 494.4 kB / 1.148 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.9926, allocations: 90.91 kB / 1.148 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.9928, allocations: 91.98 kB / 1.148 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.9928, allocations: 11.98 kB / 1.148 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9928, allocations: 0 / 1.148 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.9928, allocations: 0 / 1.148 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.9946, allocations: 1.318 MB / 1.149 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9946, allocations: 0 / 1.149 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.9952, allocations: 111.9 kB / 1.15 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.9952, allocations: 144 / 1.15 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.9953, allocations: 11.98 kB / 1.15 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.9953, allocations: 4 kB / 1.15 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9953, allocations: 3.984 kB / 1.15 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.9965, allocations: 0.8655 MB / 1.15 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.9968, allocations: 231.7 kB / 1.151 GB, free: 172 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.9969, allocations: 0 / 1.151 GB, free: 172 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.9974, allocations: 43.95 kB / 1.151 GB, free: 128 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.9975, allocations: 40.5 kB / 1.151 GB, free: 88 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.9976, allocations: 16 kB / 1.151 GB, free: 72 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005218/0.9981, allocations: 439.1 kB / 1.151 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9981, allocations: 0 / 1.151 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007564/0.9989, allocations: 264.6 kB / 1.151 GB, free: 15.39 MB / 0.7605 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.001618/1, allocations: 1.428 MB / 1.153 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00124/1.002, allocations: 0.7358 MB / 1.153 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.002, allocations: 0 / 1.153 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/1.002, allocations: 246.1 kB / 1.154 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/1.003, allocations: 205.3 kB / 1.154 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/1.006, allocations: 1.27 MB / 1.155 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/1.006, allocations: 1.022 MB / 1.156 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007704/1.007, allocations: 165.4 kB / 1.156 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/1.008, allocations: 351.3 kB / 1.157 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of SimCode: time 3e-07/1.008, allocations: 4 kB / 1.157 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/1.047, allocations: 16.78 MB / 1.173 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/1.047, allocations: 138.8 kB / 1.173 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.526, allocations: 4.031 kB / 1.173 GB, free: 9.184 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)