Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7915/0.7915, allocations: 143.4 MB / 159.2 MB, free: 4.887 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 190.7 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009779/0.0009778, allocations: 107.7 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001797, allocations: 281.2 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 75.89 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2971, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.00401/0.3012, allocations: 4.346 MB / 0.7722 GB, free: 23.32 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.3031, allocations: 1.535 MB / 0.7737 GB, free: 21.77 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003395/0.3035, allocations: 39.81 kB / 0.7737 GB, free: 21.73 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.3039, allocations: 126.8 kB / 0.7738 GB, free: 21.61 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.3045, allocations: 178.8 kB / 0.774 GB, free: 21.43 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009794/0.3055, allocations: 0.6235 MB / 0.7746 GB, free: 20.82 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007068/0.3062, allocations: 1.148 MB / 0.7757 GB, free: 19.67 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.3067, allocations: 490.8 kB / 0.7762 GB, free: 19.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.307, allocations: 417.8 kB / 0.7766 GB, free: 18.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.3073, allocations: 417.5 kB / 0.777 GB, free: 18.34 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.3074, allocations: 48 kB / 0.777 GB, free: 18.3 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.132e-05/0.3075, allocations: 52 kB / 0.7771 GB, free: 18.25 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.3076, allocations: 183 kB / 0.7772 GB, free: 18.07 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.3079, allocations: 441 kB / 0.7777 GB, free: 17.63 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.3084, allocations: 1.051 MB / 0.7787 GB, free: 16.58 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3084, allocations: 0 / 0.7787 GB, free: 16.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3084, allocations: 0 / 0.7787 GB, free: 16.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3085, allocations: 0 / 0.7787 GB, free: 16.58 MB / 458.7 MB 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.001919/0.3104, allocations: 1.403 MB / 0.7801 GB, free: 15.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.3104, allocations: 8.031 kB / 0.7801 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.3106, allocations: 119.5 kB / 0.7802 GB, free: 15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009048/0.3115, allocations: 0.7314 MB / 0.7809 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-05/0.3115, allocations: 80.27 kB / 0.781 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.3116, allocations: 76.36 kB / 0.781 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.3126, allocations: 0.7329 MB / 0.7818 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3126, allocations: 3.938 kB / 0.7818 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.3127, allocations: 28 kB / 0.7818 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3127, allocations: 16 kB / 0.7818 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/0.3136, allocations: 0.5204 MB / 0.7823 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.3162, allocations: 2.275 MB / 0.7845 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.3174, allocations: 0.6129 MB / 0.7851 GB, free: 9.766 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.3178, allocations: 283.4 kB / 0.7854 GB, free: 9.488 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.3179, allocations: 8.562 kB / 0.7854 GB, free: 9.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/0.3185, allocations: 323 kB / 0.7857 GB, free: 9.156 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 1.873e-06/0.3185, allocations: 0 / 0.7857 GB, free: 9.156 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.001345/0.3198, allocations: 0.7517 MB / 0.7865 GB, free: 8.402 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3199, allocations: 85.67 kB / 0.7865 GB, free: 8.297 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/0.3205, allocations: 0.7672 MB / 0.7873 GB, free: 7.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.3206, allocations: 37.7 kB / 0.7873 GB, free: 7.477 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.3208, allocations: 444.5 kB / 0.7877 GB, free: 7.039 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.403e-05/0.3209, allocations: 201 kB / 0.7879 GB, free: 6.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.321, allocations: 106.3 kB / 0.788 GB, free: 6.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.3211, allocations: 330 kB / 0.7884 GB, free: 6.402 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.3215, allocations: 211.3 kB / 0.7886 GB, free: 6.191 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.3219, allocations: 304.4 kB / 0.7888 GB, free: 5.863 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007922/0.3227, allocations: 0.5075 MB / 0.7893 GB, free: 5.324 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3227, allocations: 0 / 0.7893 GB, free: 5.324 MB / 458.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001002/0.3237, allocations: 0.6539 MB / 0.79 GB, free: 4.664 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3238, allocations: 13.34 kB / 0.79 GB, free: 4.652 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3238, allocations: 0 / 0.79 GB, free: 4.652 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3238, allocations: 4 kB / 0.79 GB, free: 4.648 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.3244, allocations: 152 kB / 0.7901 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3244, allocations: 7.938 kB / 0.7902 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.3248, allocations: 75.34 kB / 0.7902 GB, free: 4.418 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.3249, allocations: 20 kB / 0.7902 GB, free: 4.398 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004873/0.3253, allocations: 349.4 kB / 0.7906 GB, free: 4.051 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003772/0.3257, allocations: 292.5 kB / 0.7909 GB, free: 3.738 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007048/0.3264, allocations: 499.6 kB / 0.7913 GB, free: 3.219 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.3265, allocations: 0 / 0.7913 GB, free: 3.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0008999/0.3274, allocations: 0.6346 MB / 0.792 GB, free: 2.574 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.3274, allocations: 8.031 kB / 0.792 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3274, allocations: 4 kB / 0.792 GB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.107e-06/0.3274, allocations: 4 kB / 0.792 GB, free: 2.559 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.3279, allocations: 139.8 kB / 0.7921 GB, free: 2.422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.328, allocations: 7.938 kB / 0.7921 GB, free: 2.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.3283, allocations: 59.5 kB / 0.7922 GB, free: 2.355 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.3284, allocations: 20 kB / 0.7922 GB, free: 2.336 MB / 458.7 MB 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.000111/0.3285, allocations: 220.6 kB / 0.7924 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.3286, allocations: 94.78 kB / 0.7925 GB, free: 2.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.3288, allocations: 109.2 kB / 0.7926 GB, free: 1.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3288, allocations: 4 kB / 0.7926 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3288, allocations: 7.875 kB / 0.7926 GB, free: 1.898 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3288, allocations: 0 / 0.7926 GB, free: 1.898 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.3305, allocations: 1.435 MB / 0.794 GB, free: 420 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3305, allocations: 4 kB / 0.794 GB, free: 416 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.331, allocations: 111.7 kB / 0.7941 GB, free: 304 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.331, allocations: 4 kB / 0.7941 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.3311, allocations: 12 kB / 0.7941 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3311, allocations: 4 kB / 0.7941 GB, free: 284 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3311, allocations: 0 / 0.7941 GB, free: 284 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00872/0.3398, allocations: 5.347 MB / 0.7994 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.3401, allocations: 227.7 kB / 0.7996 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.3402, allocations: 8 kB / 0.7996 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/0.3406, allocations: 31.97 kB / 0.7996 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.3407, allocations: 40.5 kB / 0.7996 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.3407, allocations: 16 kB / 0.7997 GB, free: 10.44 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005883/0.3413, allocations: 0.5185 MB / 0.8002 GB, free: 9.926 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3413, allocations: 0 / 0.8002 GB, free: 9.926 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009654/0.3423, allocations: 387 kB / 0.8005 GB, free: 9.547 MB / 474.7 MB 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.0001272/0.3424, allocations: 115.1 kB / 0.8006 GB, free: 9.422 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.3439, allocations: 0.7917 MB / 0.8014 GB, free: 8.629 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3439, allocations: 0 / 0.8014 GB, free: 8.629 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.3444, allocations: 275.9 kB / 0.8017 GB, free: 8.363 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.3456, allocations: 250.5 kB / 0.8019 GB, free: 8.125 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.3483, allocations: 2.257 MB / 0.8041 GB, free: 5.816 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.3487, allocations: 1.006 MB / 0.8051 GB, free: 4.785 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005139/0.3493, allocations: 134.8 kB / 0.8052 GB, free: 4.648 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.3495, allocations: 71.42 kB / 0.8053 GB, free: 4.578 MB / 474.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3495, allocations: 0 / 0.8053 GB, free: 4.578 MB / 474.7 MB Notification: Performance of Templates: time 0.01556/0.3651, allocations: 10.23 MB / 0.8153 GB, free: 10.46 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)