Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 1.451/1.451, allocations: 287.4 MB / 302.6 MB, free: 8.273 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.0008792/0.0008792, allocations: 183.1 kB / 371.1 MB, free: 10.83 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.168/1.168, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006826/0.0006826, allocations: 88.53 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 14.84 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.003301/0.1443, allocations: 4.694 MB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1466, allocations: 1.682 MB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004463/0.1471, allocations: 31.88 kB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1474, allocations: 186.2 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.1478, allocations: 142.8 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.1484, allocations: 426.8 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009717/0.1494, allocations: 1.476 MB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007247/0.1501, allocations: 0.7856 MB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.1503, allocations: 361.9 kB / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.1506, allocations: 429.1 kB / 0.9887 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.1506, allocations: 40 kB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1508, allocations: 48 kB / 0.9888 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.944e-05/0.1508, allocations: 182.9 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.151, allocations: 225 kB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.1516, allocations: 1.473 MB / 0.9906 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1516, allocations: 0 / 0.9906 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1517, allocations: 0 / 0.9906 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.1517, allocations: 4 kB / 0.9906 GB, free: 15.84 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.001834/0.1535, allocations: 1.572 MB / 0.9921 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.1535, allocations: 8.031 kB / 0.9921 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.1537, allocations: 165 kB / 0.9923 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.1538, allocations: 163 kB / 0.9925 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/0.1546, allocations: 0.8131 MB / 0.9933 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.1546, allocations: 86.55 kB / 0.9933 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.1547, allocations: 120.3 kB / 0.9935 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.156, allocations: 1.101 MB / 0.9945 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1561, allocations: 3.938 kB / 0.9945 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.1561, allocations: 44 kB / 0.9946 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.1562, allocations: 28 kB / 0.9946 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.1575, allocations: 0.8511 MB / 0.9954 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.1614, allocations: 3.963 MB / 0.9993 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.1636, allocations: 1.034 MB / 1 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.1644, allocations: 478.4 kB / 1.001 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.013e-05/0.1644, allocations: 16.64 kB / 1.001 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006889/0.1651, allocations: 443.4 kB / 1.001 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 1.964e-06/0.1651, allocations: 0 / 1.001 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.001749/0.1669, allocations: 1.104 MB / 1.002 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.1669, allocations: 214.6 kB / 1.002 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.1677, allocations: 0.9116 MB / 1.003 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.1678, allocations: 53.62 kB / 1.003 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.1681, allocations: 0.5818 MB / 1.004 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1682, allocations: 279.9 kB / 1.004 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.1682, allocations: 24 kB / 1.004 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.1683, allocations: 341.9 kB / 1.005 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.1689, allocations: 357.8 kB / 1.005 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/0.1696, allocations: 0.599 MB / 1.006 GB, free: 8 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.1711, allocations: 0.8791 MB / 1.006 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1711, allocations: 0 / 1.006 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001814/0.1729, allocations: 1.103 MB / 1.007 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.1731, allocations: 254.5 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1731, allocations: 4 kB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1731, allocations: 12 kB / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/0.1738, allocations: 211.6 kB / 1.008 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.1738, allocations: 15.94 kB / 1.008 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.1745, allocations: 202.9 kB / 1.008 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.1746, allocations: 36 kB / 1.008 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.932e-06/0.1746, allocations: 4 kB / 1.008 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001118/0.1757, allocations: 0.8057 MB / 1.009 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1758, allocations: 8.562 kB / 1.009 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.1758, allocations: 8 kB / 1.009 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.1763, allocations: 171.8 kB / 1.009 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1763, allocations: 8 kB / 1.009 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.1769, allocations: 159 kB / 1.009 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.1769, allocations: 40 kB / 1.009 GB, free: 11.96 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.0003495/0.1773, allocations: 352.8 kB / 1.01 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.993e-05/0.1774, allocations: 110.6 kB / 1.01 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.1775, allocations: 115.7 kB / 1.01 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1776, allocations: 15.98 kB / 1.01 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1776, allocations: 0 / 1.01 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.1776, allocations: 7.984 kB / 1.01 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009469/0.1785, allocations: 0.9995 MB / 1.011 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1785, allocations: 0 / 1.011 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.1792, allocations: 171.8 kB / 1.011 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1792, allocations: 4 kB / 1.011 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.1792, allocations: 16 kB / 1.011 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.1792, allocations: 4 kB / 1.011 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1792, allocations: 3.938 kB / 1.011 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.1813, allocations: 1.272 MB / 1.012 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.1814, allocations: 195.5 kB / 1.013 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/0.1815, allocations: 16 kB / 1.013 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.1819, allocations: 75.94 kB / 1.013 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.182, allocations: 52.88 kB / 1.013 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.182, allocations: 23.98 kB / 1.013 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006461/0.1827, allocations: 0.6162 MB / 1.013 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1827, allocations: 4 kB / 1.013 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007151/0.1834, allocations: 414.2 kB / 1.014 GB, free: 7.414 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.002308/0.1857, allocations: 1.84 MB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.1878, allocations: 1.393 MB / 1.017 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1878, allocations: 4.312 kB / 1.017 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.1884, allocations: 393.6 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008909/0.1893, allocations: 244 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00917/0.1985, allocations: 6.7 MB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.199, allocations: 1.093 MB / 1.025 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005127/0.1996, allocations: 140.6 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/0.2001, allocations: 483.3 kB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.2001, allocations: 0 / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5021/0.7022, allocations: 21.13 MB / 1.046 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.7025, allocations: 200.9 kB / 1.046 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/3.302, allocations: 2.344 kB / 1.046 GB, free: 5.668 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)