Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.418/1.418, allocations: 288.4 MB / 303.6 MB, free: 8.078 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.0009436/0.0009438, allocations: 183.4 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.4 MB / 0.631 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007093/0.0007093, allocations: 94.3 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 16.16 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1582, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.003664/0.1619, allocations: 4.691 MB / 0.9848 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.1646, allocations: 1.679 MB / 0.9864 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009264/0.1655, allocations: 31.88 kB / 0.9865 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.166, allocations: 182.2 kB / 0.9866 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000694/0.1667, allocations: 147.4 kB / 0.9868 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000894/0.1676, allocations: 422.8 kB / 0.9872 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009521/0.1686, allocations: 1.472 MB / 0.9886 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007305/0.1693, allocations: 0.7856 MB / 0.9894 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1695, allocations: 357.9 kB / 0.9897 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1698, allocations: 433.1 kB / 0.9901 GB, free: 17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.595e-05/0.1699, allocations: 40 kB / 0.9902 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.17, allocations: 52 kB / 0.9902 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.1701, allocations: 182.9 kB / 0.9904 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.1704, allocations: 0.4984 MB / 0.9909 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007228/0.1711, allocations: 1.477 MB / 0.9923 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1711, allocations: 0 / 0.9923 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1711, allocations: 4 kB / 0.9923 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.1711, allocations: 0 / 0.9923 GB, free: 14.74 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.001998/0.1731, allocations: 1.563 MB / 0.9939 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1732, allocations: 8.031 kB / 0.9939 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.1733, allocations: 165 kB / 0.994 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.1735, allocations: 163 kB / 0.9942 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008092/0.1743, allocations: 0.8092 MB / 0.995 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.1743, allocations: 86.55 kB / 0.9951 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.1744, allocations: 120.3 kB / 0.9952 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.1758, allocations: 1.101 MB / 0.9962 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.1759, allocations: 7.938 kB / 0.9962 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.1759, allocations: 44 kB / 0.9963 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.176, allocations: 32 kB / 0.9963 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.1773, allocations: 0.8511 MB / 0.9972 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/0.1809, allocations: 3.959 MB / 1.001 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.1826, allocations: 1.041 MB / 1.002 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006213/0.1833, allocations: 478.6 kB / 1.002 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.1833, allocations: 8.656 kB / 1.002 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006818/0.184, allocations: 443.4 kB / 1.003 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 2.164e-06/0.184, allocations: 3.938 kB / 1.003 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.001672/0.1857, allocations: 1.097 MB / 1.004 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.1857, allocations: 214.6 kB / 1.004 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/0.1865, allocations: 0.9155 MB / 1.005 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.1866, allocations: 49.69 kB / 1.005 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.1869, allocations: 0.5857 MB / 1.006 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.187, allocations: 279.9 kB / 1.006 GB, free: 332 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.187, allocations: 24 kB / 1.006 GB, free: 308 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.1871, allocations: 345.9 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.1878, allocations: 357.8 kB / 1.007 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/0.1886, allocations: 0.6029 MB / 1.007 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.19, allocations: 0.8752 MB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.19, allocations: 0 / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001806/0.1919, allocations: 1.107 MB / 1.009 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.192, allocations: 250.6 kB / 1.009 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.192, allocations: 4 kB / 1.009 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.192, allocations: 8 kB / 1.009 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/0.1928, allocations: 227.6 kB / 1.01 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.1928, allocations: 11.94 kB / 1.01 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/0.1935, allocations: 202.9 kB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.238e-05/0.1935, allocations: 32 kB / 1.01 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/0.1936, allocations: 7.984 kB / 1.01 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/0.1947, allocations: 0.8059 MB / 1.011 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.1948, allocations: 4 kB / 1.011 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.1948, allocations: 8 kB / 1.011 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/0.1953, allocations: 167.8 kB / 1.011 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1954, allocations: 12 kB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.1959, allocations: 161.3 kB / 1.011 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.196, allocations: 32 kB / 1.011 GB, free: 10.87 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * 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.0003752/0.1964, allocations: 358.3 kB / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1965, allocations: 110.6 kB / 1.012 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.1966, allocations: 127.6 kB / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1967, allocations: 8 kB / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1967, allocations: 0 / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.1967, allocations: 3.984 kB / 1.012 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/0.1977, allocations: 0.9995 MB / 1.013 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1977, allocations: 0 / 1.013 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.1984, allocations: 175.8 kB / 1.013 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1984, allocations: 11.88 kB / 1.013 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.1984, allocations: 12 kB / 1.013 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1984, allocations: 4 kB / 1.013 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1984, allocations: 0 / 1.013 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.2005, allocations: 1.272 MB / 1.014 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.2006, allocations: 199.4 kB / 1.014 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-05/0.2007, allocations: 16 kB / 1.014 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.2011, allocations: 71.94 kB / 1.014 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.2012, allocations: 48.94 kB / 1.014 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.2012, allocations: 27.98 kB / 1.014 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006618/0.2019, allocations: 0.6163 MB / 1.015 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2019, allocations: 0 / 1.015 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007437/0.2027, allocations: 418.2 kB / 1.015 GB, free: 6.312 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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.002311/0.205, allocations: 1.84 MB / 1.017 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.2071, allocations: 1.392 MB / 1.019 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2071, allocations: 0 / 1.019 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006407/0.2077, allocations: 395.2 kB / 1.019 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.2086, allocations: 255.6 kB / 1.019 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009117/0.2178, allocations: 6.693 MB / 1.026 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.2184, allocations: 1.093 MB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004258/0.2188, allocations: 136.3 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/0.2193, allocations: 491.3 kB / 1.027 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of SimCode: time 3.01e-07/0.2193, allocations: 4 kB / 1.027 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5959/0.8152, allocations: 21.28 MB / 1.048 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.8155, allocations: 216.3 kB / 1.048 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.333, allocations: 0 / 1.048 GB, free: 4.395 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)