Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json 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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 110.4 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8644/0.8644, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 57.05 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1528, allocations: 82.03 MB / 0.6763 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005664/0.1585, allocations: 4.342 MB / 0.6805 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003017/0.1615, allocations: 1.589 MB / 0.6821 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003988/0.1619, allocations: 35.81 kB / 0.6821 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.1623, allocations: 166.2 kB / 0.6823 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005924/0.1629, allocations: 238.1 kB / 0.6825 GB, free: 4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1641, allocations: 0.6721 MB / 0.6831 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1654, allocations: 1.226 MB / 0.6843 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000562/0.166, allocations: 344.3 kB / 0.6847 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.1665, allocations: 477.9 kB / 0.6851 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.167, allocations: 461.5 kB / 0.6856 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.1672, allocations: 100 kB / 0.6857 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1673, allocations: 107.9 kB / 0.6858 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.1675, allocations: 227.1 kB / 0.686 GB, free: 408 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004109/0.1679, allocations: 493.1 kB / 0.6864 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.1691, allocations: 1.201 MB / 0.6876 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1691, allocations: 0 / 0.6876 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1691, allocations: 0 / 0.6876 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.1691, allocations: 0 / 0.6876 GB, free: 14.71 MB / 0.5294 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.002384/0.1715, allocations: 1.437 MB / 0.689 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1715, allocations: 12.03 kB / 0.689 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.1717, allocations: 132.1 kB / 0.6892 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.173, allocations: 0.7635 MB / 0.6899 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.1731, allocations: 84.25 kB / 0.69 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1732, allocations: 72.38 kB / 0.6901 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.1745, allocations: 0.7329 MB / 0.6908 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.1745, allocations: 3.938 kB / 0.6908 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.1746, allocations: 28 kB / 0.6908 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.1746, allocations: 16 kB / 0.6908 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1757, allocations: 0.5126 MB / 0.6913 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.1791, allocations: 2.264 MB / 0.6935 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.1805, allocations: 0.5921 MB / 0.6941 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.181, allocations: 251.3 kB / 0.6943 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.1811, allocations: 8.562 kB / 0.6944 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006664/0.1817, allocations: 331.1 kB / 0.6947 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 2.525e-06/0.1817, allocations: 0 / 0.6947 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.001638/0.1834, allocations: 0.7561 MB / 0.6954 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.1834, allocations: 81.67 kB / 0.6955 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009071/0.1843, allocations: 0.7594 MB / 0.6962 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.1844, allocations: 37.7 kB / 0.6963 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.1848, allocations: 445 kB / 0.6967 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.1849, allocations: 222 kB / 0.6969 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.1851, allocations: 110.3 kB / 0.697 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1853, allocations: 337.9 kB / 0.6973 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.1857, allocations: 211.4 kB / 0.6975 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.1863, allocations: 300.5 kB / 0.6978 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.1873, allocations: 0.5073 MB / 0.6983 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1873, allocations: 4 kB / 0.6983 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001268/0.1886, allocations: 0.6584 MB / 0.699 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1886, allocations: 8 kB / 0.699 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1886, allocations: 0 / 0.699 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1886, allocations: 8 kB / 0.699 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/0.1892, allocations: 143.8 kB / 0.6991 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.1892, allocations: 11.92 kB / 0.6991 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.1896, allocations: 71.72 kB / 0.6992 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.1897, allocations: 24 kB / 0.6992 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006656/0.1904, allocations: 357.4 kB / 0.6996 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005171/0.1909, allocations: 292.4 kB / 0.6998 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009089/0.1918, allocations: 491.6 kB / 0.7003 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.1918, allocations: 0 / 0.7003 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001164/0.1929, allocations: 0.6389 MB / 0.7009 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.193, allocations: 4 kB / 0.7009 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.193, allocations: 4 kB / 0.7009 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.193, allocations: 4 kB / 0.7009 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.1935, allocations: 144.1 kB / 0.7011 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1936, allocations: 8 kB / 0.7011 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.1939, allocations: 67.58 kB / 0.7011 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.194, allocations: 19.98 kB / 0.7012 GB, free: 408 kB / 0.5294 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.1942, allocations: 221.1 kB / 0.7014 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.1943, allocations: 103.3 kB / 0.7015 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.1945, allocations: 101.2 kB / 0.7016 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1945, allocations: 11.94 kB / 0.7016 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1945, allocations: 3.938 kB / 0.7016 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.1945, allocations: 7.984 kB / 0.7016 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.1968, allocations: 1.427 MB / 0.703 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1968, allocations: 4 kB / 0.703 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.1973, allocations: 107.8 kB / 0.7031 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1973, allocations: 4 kB / 0.7031 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.1974, allocations: 12 kB / 0.7031 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1974, allocations: 0 / 0.7031 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1974, allocations: 4 kB / 0.7031 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.1991, allocations: 0.9718 MB / 0.7041 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.1994, allocations: 220.3 kB / 0.7043 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.1995, allocations: 19.94 kB / 0.7043 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.1999, allocations: 35.95 kB / 0.7043 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.2, allocations: 36.52 kB / 0.7044 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.2, allocations: 19.98 kB / 0.7044 GB, free: 13.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006736/0.2007, allocations: 0.5185 MB / 0.7049 GB, free: 12.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2007, allocations: 3.938 kB / 0.7049 GB, free: 12.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007182/0.2014, allocations: 275.3 kB / 0.7052 GB, free: 12.22 MB / 0.545 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 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked 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 (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.0001639/0.2016, allocations: 119.2 kB / 0.7053 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.2032, allocations: 0.7416 MB / 0.706 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2032, allocations: 4 kB / 0.706 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.2037, allocations: 251.1 kB / 0.7062 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.2048, allocations: 260.4 kB / 0.7065 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.2075, allocations: 1.628 MB / 0.7081 GB, free: 9.195 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.2081, allocations: 0.9977 MB / 0.709 GB, free: 8.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.2083, allocations: 67.42 kB / 0.7091 GB, free: 8.105 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.2083, allocations: 0 / 0.7091 GB, free: 8.105 MB / 0.545 GB Notification: Performance of Templates: time 0.01614/0.2244, allocations: 11.03 MB / 0.7199 GB, free: 13.13 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)