Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 109.7 kB / 16.41 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.666/2.666, allocations: 469.8 MB / 0.749 GB, free: 2.996 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 1.073 GB, free: 128 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.764/0.766, allocations: 159.1 MB / 1.229 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004942/0.7709, allocations: 3.719 MB / 1.232 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002436/0.7734, allocations: 1.317 MB / 1.234 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003358/0.7737, allocations: 23.88 kB / 1.234 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.7741, allocations: 126.6 kB / 1.234 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005007/0.7746, allocations: 178.5 kB / 1.234 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.7757, allocations: 0.5759 MB / 1.234 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.7767, allocations: 0.9681 MB / 1.235 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.7773, allocations: 355.4 kB / 1.236 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.7777, allocations: 358.5 kB / 1.236 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.7781, allocations: 354 kB / 1.236 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.7783, allocations: 80 kB / 1.236 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.7784, allocations: 76 kB / 1.237 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.7785, allocations: 183.2 kB / 1.237 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.7789, allocations: 377.7 kB / 1.237 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009252/0.7798, allocations: 0.8944 MB / 1.238 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7798, allocations: 4 kB / 1.238 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7798, allocations: 0 / 1.238 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.7798, allocations: 0 / 1.238 GB, free: 11.23 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002082/0.7819, allocations: 1.206 MB / 1.239 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.782, allocations: 12.03 kB / 1.239 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.7821, allocations: 94.7 kB / 1.239 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.7822, allocations: 96.33 kB / 1.239 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.7833, allocations: 0.6344 MB / 1.24 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.7834, allocations: 92.97 kB / 1.24 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.7835, allocations: 56.38 kB / 1.24 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.7846, allocations: 0.6001 MB / 1.241 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.7846, allocations: 4 kB / 1.241 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.7847, allocations: 20 kB / 1.241 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.7847, allocations: 12 kB / 1.241 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009863/0.7857, allocations: 423.6 kB / 1.241 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.7885, allocations: 2.103 MB / 1.243 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.7898, allocations: 0.5043 MB / 1.244 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.7902, allocations: 228.6 kB / 1.244 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.7903, allocations: 4 kB / 1.244 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006495/0.791, allocations: 274.4 kB / 1.244 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 5.41e-06/0.791, allocations: 4 kB / 1.244 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.00151/0.7925, allocations: 0.618 MB / 1.245 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.7926, allocations: 92.8 kB / 1.245 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.7933, allocations: 0.6178 MB / 1.245 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.7934, allocations: 37.7 kB / 1.245 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.7937, allocations: 357.2 kB / 1.246 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.7939, allocations: 166.6 kB / 1.246 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.794, allocations: 86.25 kB / 1.246 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7942, allocations: 334 kB / 1.246 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.7947, allocations: 187 kB / 1.247 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.7952, allocations: 280.2 kB / 1.247 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000958/0.7961, allocations: 481.8 kB / 1.247 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7962, allocations: 4 kB / 1.247 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001234/0.7974, allocations: 0.5989 MB / 1.248 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.7975, allocations: 37.69 kB / 1.248 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7975, allocations: 4 kB / 1.248 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.7975, allocations: 4 kB / 1.248 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.798, allocations: 111.8 kB / 1.248 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.798, allocations: 7.984 kB / 1.248 GB, free: 500 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.7984, allocations: 67.53 kB / 1.248 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.7984, allocations: 20 kB / 1.248 GB, free: 412 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005611/0.799, allocations: 309.2 kB / 1.248 GB, free: 100 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004809/0.7995, allocations: 272.2 kB / 1.249 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008478/0.8003, allocations: 450 kB / 1.249 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.8004, allocations: 0 / 1.249 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001114/0.8015, allocations: 0.5829 MB / 1.25 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.8015, allocations: 39.11 kB / 1.25 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.8015, allocations: 0 / 1.25 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.8015, allocations: 12.31 kB / 1.25 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.802, allocations: 103.8 kB / 1.25 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.802, allocations: 4 kB / 1.25 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.8023, allocations: 51.7 kB / 1.25 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.8024, allocations: 16 kB / 1.25 GB, free: 14.5 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.8026, allocations: 220.7 kB / 1.25 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.777e-05/0.8027, allocations: 75.48 kB / 1.25 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.8028, allocations: 83.22 kB / 1.25 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.8028, allocations: 4 kB / 1.25 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8029, allocations: 0 / 1.25 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8029, allocations: 3.984 kB / 1.25 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/0.8035, allocations: 0.618 MB / 1.251 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8036, allocations: 0 / 1.251 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/0.804, allocations: 87.88 kB / 1.251 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.804, allocations: 0 / 1.251 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.8041, allocations: 12 kB / 1.251 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.8041, allocations: 8 kB / 1.251 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8041, allocations: 0 / 1.251 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.8056, allocations: 0.7368 MB / 1.252 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.8058, allocations: 184.6 kB / 1.252 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.8059, allocations: 12 kB / 1.252 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.8063, allocations: 40.08 kB / 1.252 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.8064, allocations: 31.95 kB / 1.252 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.8065, allocations: 23.91 kB / 1.252 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005026/0.807, allocations: 431.1 kB / 1.252 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.807, allocations: 0 / 1.252 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005733/0.8076, allocations: 219.5 kB / 1.253 GB, free: 11.64 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001876/0.8095, allocations: 1.289 MB / 1.254 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.8111, allocations: 0.7896 MB / 1.255 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8111, allocations: 4 kB / 1.255 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.8116, allocations: 219.6 kB / 1.255 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008711/0.8125, allocations: 190.1 kB / 1.255 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/0.8204, allocations: 5.381 MB / 1.26 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.8209, allocations: 0.918 MB / 1.261 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004105/0.8213, allocations: 93.12 kB / 1.261 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.8217, allocations: 263.3 kB / 1.261 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of SimCode: time 7.61e-07/0.8217, allocations: 3.938 kB / 1.261 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/0.8632, allocations: 14.06 MB / 1.275 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/9.634, allocations: 4.984 kB / 1.275 GB, free: 4.379 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.LimPID_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.355100674089044] Failed to read output from testmodel.py, exit status != 0: 9.710563232889399 9.731381653 8.94786526 Calling exit ...