Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 113.9 kB / 16.37 MB, free: 6.012 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.001274/0.001274, allocations: 191.5 kB / 17.31 MB, free: 5.613 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.17 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.8554/0.8554, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 0.5156 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2939, allocations: 82.03 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.00364/0.2976, allocations: 3.706 MB / 0.5993 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2994, allocations: 1.32 MB / 0.6006 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.2997, allocations: 29.22 kB / 0.6006 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.2999, allocations: 122.7 kB / 0.6007 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.3003, allocations: 186.2 kB / 0.6009 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.3012, allocations: 0.5645 MB / 0.6015 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005913/0.3018, allocations: 0.9772 MB / 0.6024 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.3022, allocations: 351.3 kB / 0.6028 GB, free: 8.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.3025, allocations: 363.9 kB / 0.6031 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.3027, allocations: 346.1 kB / 0.6034 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.3028, allocations: 80 kB / 0.6035 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.908e-05/0.3029, allocations: 77.31 kB / 0.6036 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.303, allocations: 179.3 kB / 0.6038 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.3032, allocations: 385.7 kB / 0.6041 GB, free: 7.527 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.3037, allocations: 0.9131 MB / 0.605 GB, free: 6.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3037, allocations: 0 / 0.605 GB, free: 6.617 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3037, allocations: 0 / 0.605 GB, free: 6.617 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3037, allocations: 1.375 kB / 0.605 GB, free: 6.617 MB / 446.1 MB 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.001502/0.3052, allocations: 1.178 MB / 0.6062 GB, free: 5.391 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.3053, allocations: 12.03 kB / 0.6062 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3054, allocations: 93.16 kB / 0.6063 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/0.3062, allocations: 0.6269 MB / 0.6069 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.3063, allocations: 92.97 kB / 0.607 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.3064, allocations: 56.38 kB / 0.607 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.3072, allocations: 0.6014 MB / 0.6076 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3072, allocations: 4.844 kB / 0.6076 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.3072, allocations: 24 kB / 0.6076 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3072, allocations: 13.34 kB / 0.6076 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007637/0.308, allocations: 425 kB / 0.6081 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.31, allocations: 2.089 MB / 0.6101 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/0.311, allocations: 0.4943 MB / 0.6106 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.3113, allocations: 224.2 kB / 0.6108 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.3114, allocations: 8.484 kB / 0.6108 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/0.3119, allocations: 281.4 kB / 0.6111 GB, free: 204 kB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.3119, allocations: 4 kB / 0.6111 GB, free: 200 kB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001295/0.3132, allocations: 0.6096 MB / 0.6117 GB, free: 15.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3133, allocations: 85.55 kB / 0.6117 GB, free: 15.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006538/0.3139, allocations: 0.6189 MB / 0.6124 GB, free: 14.85 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.314, allocations: 33.7 kB / 0.6124 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.3142, allocations: 357.4 kB / 0.6127 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.3143, allocations: 158.2 kB / 0.6129 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.3145, allocations: 98.78 kB / 0.613 GB, free: 14.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3146, allocations: 326.9 kB / 0.6133 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.315, allocations: 176.7 kB / 0.6135 GB, free: 13.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.3155, allocations: 284 kB / 0.6137 GB, free: 13.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/0.3164, allocations: 481.2 kB / 0.6142 GB, free: 12.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3164, allocations: 3.938 kB / 0.6142 GB, free: 12.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001069/0.3175, allocations: 0.5941 MB / 0.6148 GB, free: 12.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.3175, allocations: 42.22 kB / 0.6148 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3175, allocations: 4.781 kB / 0.6148 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3175, allocations: 4 kB / 0.6148 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.318, allocations: 104.7 kB / 0.6149 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.318, allocations: 8.688 kB / 0.6149 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.3184, allocations: 69.81 kB / 0.615 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.3184, allocations: 16 kB / 0.615 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005017/0.319, allocations: 309.2 kB / 0.6153 GB, free: 11.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004084/0.3194, allocations: 264.9 kB / 0.6156 GB, free: 11.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007503/0.3201, allocations: 455.1 kB / 0.616 GB, free: 10.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.3201, allocations: 4 kB / 0.616 GB, free: 10.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.000998/0.3212, allocations: 0.5826 MB / 0.6166 GB, free: 10.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3212, allocations: 34.02 kB / 0.6166 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3212, allocations: 4 kB / 0.6166 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.3212, allocations: 4 kB / 0.6166 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.3216, allocations: 107.8 kB / 0.6167 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3216, allocations: 4 kB / 0.6167 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.322, allocations: 47.58 kB / 0.6167 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.322, allocations: 20 kB / 0.6168 GB, free: 10.14 MB / 462.1 MB 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.0001448/0.3222, allocations: 220.1 kB / 0.617 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/0.3223, allocations: 71.16 kB / 0.617 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.3224, allocations: 83.16 kB / 0.6171 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3224, allocations: 4 kB / 0.6171 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3224, allocations: 0 / 0.6171 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3225, allocations: 7.969 kB / 0.6171 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.323, allocations: 0.6218 MB / 0.6177 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.323, allocations: 0 / 0.6177 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.3235, allocations: 95.81 kB / 0.6178 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3235, allocations: 3.938 kB / 0.6178 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.3235, allocations: 12 kB / 0.6179 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3236, allocations: 4 kB / 0.6179 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3236, allocations: 0 / 0.6179 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.3249, allocations: 0.7314 MB / 0.6186 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.3251, allocations: 184.1 kB / 0.6187 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.3252, allocations: 12 kB / 0.6188 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.3256, allocations: 31.95 kB / 0.6188 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.3257, allocations: 39.95 kB / 0.6188 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.3257, allocations: 15.98 kB / 0.6188 GB, free: 7.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004508/0.3262, allocations: 427.1 kB / 0.6192 GB, free: 7.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3262, allocations: 0 / 0.6192 GB, free: 7.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000529/0.3267, allocations: 223.2 kB / 0.6195 GB, free: 7.281 MB / 462.1 MB 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.0001243/0.3269, allocations: 115.1 kB / 0.6196 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.3282, allocations: 0.7777 MB / 0.6203 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3283, allocations: 4.125 kB / 0.6203 GB, free: 6.359 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.3287, allocations: 223.8 kB / 0.6205 GB, free: 6.141 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007655/0.3295, allocations: 210.2 kB / 0.6207 GB, free: 5.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.3312, allocations: 1.16 MB / 0.6219 GB, free: 4.762 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.3316, allocations: 0.9217 MB / 0.6228 GB, free: 3.812 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.332, allocations: 89.12 kB / 0.6229 GB, free: 3.727 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3321, allocations: 51.42 kB / 0.6229 GB, free: 3.676 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3321, allocations: 4 kB / 0.6229 GB, free: 3.672 MB / 462.1 MB Notification: Performance of Templates: time 0.0121/0.3442, allocations: 7.579 MB / 0.6303 GB, free: 12.18 MB / 478.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)