Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005026/0.005026, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001183/0.001183, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.936/0.936, allocations: 143 MB / 433.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 0.5955 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3311, allocations: 82.03 MB / 0.6756 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004683/0.3359, allocations: 4.105 MB / 0.6796 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.338, allocations: 1.324 MB / 0.6809 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.3384, allocations: 24.88 kB / 0.6809 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.3387, allocations: 123.4 kB / 0.681 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.339, allocations: 179.8 kB / 0.6812 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.3398, allocations: 426 kB / 0.6816 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008008/0.3406, allocations: 0.9588 MB / 0.6826 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.3412, allocations: 467.5 kB / 0.683 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.3415, allocations: 329.7 kB / 0.6833 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.3418, allocations: 335.9 kB / 0.6836 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.3419, allocations: 98.77 kB / 0.6837 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.342, allocations: 90.59 kB / 0.6838 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3422, allocations: 176.2 kB / 0.684 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.3424, allocations: 391.5 kB / 0.6844 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008418/0.3433, allocations: 1.114 MB / 0.6854 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3433, allocations: 0 / 0.6854 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3433, allocations: 0 / 0.6854 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.3433, allocations: 0 / 0.6854 GB, free: 9.797 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001631/0.345, allocations: 1.072 MB / 0.6865 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.345, allocations: 9.781 kB / 0.6865 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.3451, allocations: 86.09 kB / 0.6866 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/0.346, allocations: 0.5704 MB / 0.6871 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.346, allocations: 40.5 kB / 0.6872 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/0.3461, allocations: 60.06 kB / 0.6872 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.3471, allocations: 0.6099 MB / 0.6878 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3472, allocations: 5.156 kB / 0.6878 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.3472, allocations: 21.5 kB / 0.6879 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3472, allocations: 14.53 kB / 0.6879 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.3481, allocations: 460.8 kB / 0.6883 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.3507, allocations: 1.993 MB / 0.6903 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/0.3516, allocations: 450.9 kB / 0.6907 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.352, allocations: 245.1 kB / 0.6909 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.352, allocations: 4.406 kB / 0.6909 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/0.3525, allocations: 258.3 kB / 0.6912 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=49): time 1.933e-06/0.3525, allocations: 4 kB / 0.6912 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.001251/0.3538, allocations: 0.5851 MB / 0.6917 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.3539, allocations: 59.39 kB / 0.6918 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.3543, allocations: 440.1 kB / 0.6922 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.3544, allocations: 36.61 kB / 0.6923 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.3546, allocations: 328.5 kB / 0.6926 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3547, allocations: 170.8 kB / 0.6927 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.3549, allocations: 89.31 kB / 0.6928 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.355, allocations: 367 kB / 0.6932 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.3554, allocations: 160.4 kB / 0.6933 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.3558, allocations: 259.2 kB / 0.6936 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007498/0.3566, allocations: 452 kB / 0.694 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3566, allocations: 0 / 0.694 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009339/0.3575, allocations: 0.5624 MB / 0.6945 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.3576, allocations: 37.64 kB / 0.6946 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3576, allocations: 0 / 0.6946 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3576, allocations: 12 kB / 0.6946 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.3581, allocations: 112.1 kB / 0.6947 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3581, allocations: 7.938 kB / 0.6947 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.3584, allocations: 59.5 kB / 0.6948 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.3585, allocations: 16 kB / 0.6948 GB, free: 2.473 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002365/0.3587, allocations: 205.7 kB / 0.695 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.3588, allocations: 63.19 kB / 0.695 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.3589, allocations: 69.58 kB / 0.6951 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3589, allocations: 8 kB / 0.6951 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3589, allocations: 0 / 0.6951 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.359, allocations: 3.984 kB / 0.6951 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.3605, allocations: 1.17 MB / 0.6963 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3605, allocations: 3.938 kB / 0.6963 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.361, allocations: 99.83 kB / 0.6964 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.361, allocations: 0 / 0.6964 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.361, allocations: 15.98 kB / 0.6964 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.361, allocations: 4 kB / 0.6964 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3611, allocations: 0 / 0.6964 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3623, allocations: 0.7574 MB / 0.6971 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.3624, allocations: 168.3 kB / 0.6973 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.3625, allocations: 12 kB / 0.6973 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.3628, allocations: 23.97 kB / 0.6973 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.3629, allocations: 32.39 kB / 0.6973 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.3629, allocations: 16 kB / 0.6974 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002855/0.3632, allocations: 310.9 kB / 0.6977 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3632, allocations: 4 kB / 0.6977 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004028/0.3636, allocations: 143.4 kB / 0.6978 GB, free: 15.29 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001069/0.3637, allocations: 111.1 kB / 0.6979 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008323/0.3646, allocations: 485.5 kB / 0.6984 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3646, allocations: 4 kB / 0.6984 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.365, allocations: 218.3 kB / 0.6986 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.3657, allocations: 168.2 kB / 0.6987 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.368, allocations: 1.333 MB / 0.7 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.3684, allocations: 0.8938 MB / 0.7009 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.3687, allocations: 64.58 kB / 0.701 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3688, allocations: 43.44 kB / 0.701 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.3688, allocations: 0 / 0.701 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of Templates: time 0.009836/0.3786, allocations: 6.021 MB / 0.7069 GB, free: 5.984 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)