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.001141/0.001141, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.00116/0.00116, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 14.99 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.8437/0.8437, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.5156 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3683, allocations: 82.02 MB / 0.5957 GB, free: 16.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.004013/0.3724, allocations: 3.714 MB / 0.5993 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.3744, allocations: 1.324 MB / 0.6006 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.3746, allocations: 27.88 kB / 0.6006 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.3749, allocations: 128.1 kB / 0.6007 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.3754, allocations: 170.1 kB / 0.6009 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.3762, allocations: 0.5734 MB / 0.6015 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.3769, allocations: 0.9619 MB / 0.6024 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.3773, allocations: 352.9 kB / 0.6027 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.3776, allocations: 366.4 kB / 0.6031 GB, free: 8.516 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.3779, allocations: 355.5 kB / 0.6034 GB, free: 8.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.378, allocations: 80 kB / 0.6035 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.31e-05/0.378, allocations: 79.94 kB / 0.6036 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.3782, allocations: 175.4 kB / 0.6037 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.3784, allocations: 386.9 kB / 0.6041 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.3789, allocations: 0.9162 MB / 0.605 GB, free: 6.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3789, allocations: 0 / 0.605 GB, free: 6.547 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3789, allocations: 0 / 0.605 GB, free: 6.547 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3789, allocations: 1.5 kB / 0.605 GB, free: 6.547 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.001625/0.3806, allocations: 1.178 MB / 0.6062 GB, free: 5.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3806, allocations: 11.97 kB / 0.6062 GB, free: 5.309 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3807, allocations: 97.28 kB / 0.6063 GB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/0.3815, allocations: 0.6191 MB / 0.6069 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/0.3816, allocations: 96.95 kB / 0.607 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.3817, allocations: 52.38 kB / 0.607 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008288/0.3825, allocations: 0.6055 MB / 0.6076 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3826, allocations: 4 kB / 0.6076 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.3826, allocations: 25.3 kB / 0.6076 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.3826, allocations: 16 kB / 0.6076 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007735/0.3834, allocations: 421.9 kB / 0.608 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.3854, allocations: 2.097 MB / 0.6101 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009575/0.3864, allocations: 0.489 MB / 0.6106 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.3868, allocations: 216.4 kB / 0.6108 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.3868, allocations: 11.98 kB / 0.6108 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005134/0.3873, allocations: 285.2 kB / 0.6111 GB, free: 128 kB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 1.853e-06/0.3874, allocations: 0 / 0.6111 GB, free: 128 kB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001298/0.3887, allocations: 0.6097 MB / 0.6117 GB, free: 15.51 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.3887, allocations: 86.08 kB / 0.6117 GB, free: 15.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/0.3894, allocations: 0.61 MB / 0.6123 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.3894, allocations: 38.8 kB / 0.6124 GB, free: 14.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.3897, allocations: 353.5 kB / 0.6127 GB, free: 14.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3898, allocations: 154.4 kB / 0.6129 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.39, allocations: 98.14 kB / 0.613 GB, free: 14.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3901, allocations: 327.5 kB / 0.6133 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.3906, allocations: 187.9 kB / 0.6134 GB, free: 13.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.391, allocations: 276.3 kB / 0.6137 GB, free: 13.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008535/0.3919, allocations: 481.2 kB / 0.6142 GB, free: 12.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3919, allocations: 3.938 kB / 0.6142 GB, free: 12.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001081/0.393, allocations: 0.6025 MB / 0.6148 GB, free: 12.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.393, allocations: 33.7 kB / 0.6148 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3931, allocations: 0.7188 kB / 0.6148 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3931, allocations: 9.344 kB / 0.6148 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.3935, allocations: 107.8 kB / 0.6149 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3935, allocations: 7.938 kB / 0.6149 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.3939, allocations: 64.81 kB / 0.615 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.394, allocations: 20 kB / 0.615 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005104/0.3945, allocations: 314.3 kB / 0.6153 GB, free: 11.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004055/0.3949, allocations: 269.6 kB / 0.6155 GB, free: 11.37 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007408/0.3956, allocations: 451.5 kB / 0.616 GB, free: 10.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.3957, allocations: 0 / 0.616 GB, free: 10.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009641/0.3966, allocations: 0.5784 MB / 0.6165 GB, free: 10.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3967, allocations: 33.7 kB / 0.6166 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3967, allocations: 6.938 kB / 0.6166 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/0.3967, allocations: 4 kB / 0.6166 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.3971, allocations: 103.8 kB / 0.6167 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3971, allocations: 8 kB / 0.6167 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.3974, allocations: 51.56 kB / 0.6167 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.3975, allocations: 20 kB / 0.6168 GB, free: 10.08 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.0001678/0.3977, allocations: 213.2 kB / 0.617 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.3978, allocations: 67.84 kB / 0.617 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.3979, allocations: 87.2 kB / 0.6171 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3979, allocations: 4 kB / 0.6171 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3979, allocations: 0 / 0.6171 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3979, allocations: 4 kB / 0.6171 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.3986, allocations: 0.6296 MB / 0.6177 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3986, allocations: 0 / 0.6177 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.399, allocations: 83.89 kB / 0.6178 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.399, allocations: 4 kB / 0.6178 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.399, allocations: 7.984 kB / 0.6178 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.3991, allocations: 15.92 kB / 0.6178 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3991, allocations: 0 / 0.6178 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.4004, allocations: 0.7275 MB / 0.6186 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.4006, allocations: 196.1 kB / 0.6187 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.4007, allocations: 8 kB / 0.6187 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.4011, allocations: 31.97 kB / 0.6188 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.4012, allocations: 27.95 kB / 0.6188 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.4012, allocations: 19.98 kB / 0.6188 GB, free: 7.859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004329/0.4017, allocations: 435 kB / 0.6192 GB, free: 7.441 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4017, allocations: 4 kB / 0.6192 GB, free: 7.438 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005463/0.4022, allocations: 219.2 kB / 0.6195 GB, free: 7.223 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.0001485/0.4024, allocations: 107.7 kB / 0.6196 GB, free: 7.109 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.4037, allocations: 0.7885 MB / 0.6203 GB, free: 6.301 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4038, allocations: 0 / 0.6203 GB, free: 6.301 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.4042, allocations: 220.8 kB / 0.6205 GB, free: 6.086 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007618/0.405, allocations: 204.1 kB / 0.6207 GB, free: 5.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.4068, allocations: 1.168 MB / 0.6219 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.4072, allocations: 0.9178 MB / 0.6228 GB, free: 3.754 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.4076, allocations: 93.12 kB / 0.6229 GB, free: 3.664 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4077, allocations: 43.44 kB / 0.6229 GB, free: 3.621 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4077, allocations: 0 / 0.6229 GB, free: 3.621 MB / 462.1 MB Notification: Performance of Templates: time 0.01253/0.4202, allocations: 7.594 MB / 0.6303 GB, free: 12.12 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)