Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008106/0.0008107, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001064/0.001065, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005358/0.000536, allocations: 15.72 kB / 0.6737 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2623, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003793/0.2662, allocations: 3.15 MB / 0.7904 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.2683, allocations: 1.302 MB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.2686, allocations: 23.88 kB / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.2689, allocations: 87.11 kB / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.2693, allocations: 139 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.2702, allocations: 457.6 kB / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.271, allocations: 0.8277 MB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.2714, allocations: 247.2 kB / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.2717, allocations: 278.5 kB / 0.7936 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.272, allocations: 258.3 kB / 0.7939 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.2721, allocations: 20 kB / 0.7939 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.2722, allocations: 24 kB / 0.7939 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.2723, allocations: 107.3 kB / 0.794 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2724, allocations: 145.2 kB / 0.7941 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000525/0.2729, allocations: 0.6237 MB / 0.7948 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.273, allocations: 0 / 0.7948 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.273, allocations: 4 kB / 0.7948 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.273, allocations: 0 / 0.7948 GB, free: 4.234 MB / 0.6075 GB 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.001618/0.2746, allocations: 1.063 MB / 0.7958 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2746, allocations: 8.031 kB / 0.7958 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.2748, allocations: 94.88 kB / 0.7959 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000906/0.2757, allocations: 0.5823 MB / 0.7965 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.985e-05/0.2758, allocations: 96.41 kB / 0.7966 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.2759, allocations: 56 kB / 0.7966 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000958/0.2768, allocations: 0.608 MB / 0.7972 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2769, allocations: 0 / 0.7972 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.2769, allocations: 24 kB / 0.7972 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.2769, allocations: 15.98 kB / 0.7972 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009281/0.2779, allocations: 439.6 kB / 0.7977 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.2804, allocations: 2.129 MB / 0.7997 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.2815, allocations: 0.5116 MB / 0.8002 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.2819, allocations: 232.7 kB / 0.8005 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.282, allocations: 7.938 kB / 0.8005 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006144/0.2826, allocations: 293.9 kB / 0.8007 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.874e-06/0.2826, allocations: 0 / 0.8007 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001335/0.284, allocations: 0.6465 MB / 0.8014 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.284, allocations: 88.8 kB / 0.8015 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/0.2847, allocations: 0.6138 MB / 0.8021 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.2848, allocations: 41.64 kB / 0.8021 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.285, allocations: 360.8 kB / 0.8024 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.2852, allocations: 153.8 kB / 0.8026 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.2852, allocations: 12 kB / 0.8026 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2854, allocations: 329.9 kB / 0.8029 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.2858, allocations: 181 kB / 0.8031 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.2862, allocations: 288.2 kB / 0.8034 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.2867, allocations: 238.4 kB / 0.8036 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2867, allocations: 0 / 0.8036 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00121/0.2879, allocations: 0.61 MB / 0.8042 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.2881, allocations: 189.3 kB / 0.8044 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2881, allocations: 4 kB / 0.8044 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.2881, allocations: 4 kB / 0.8044 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.2886, allocations: 111.8 kB / 0.8045 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.2886, allocations: 12 kB / 0.8045 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.2889, allocations: 75.36 kB / 0.8046 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.289, allocations: 24 kB / 0.8046 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.289, allocations: 4 kB / 0.8046 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009041/0.2899, allocations: 0.4998 MB / 0.8051 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2899, allocations: 4 kB / 0.8051 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.2899, allocations: 4 kB / 0.8051 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.2904, allocations: 107.8 kB / 0.8052 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2904, allocations: 4.25 kB / 0.8052 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.2907, allocations: 63.52 kB / 0.8053 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.2908, allocations: 19.98 kB / 0.8053 GB, free: 9.043 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000259/0.291, allocations: 269 kB / 0.8055 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.2911, allocations: 79 kB / 0.8056 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.2913, allocations: 79.34 kB / 0.8057 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.2913, allocations: 11.98 kB / 0.8057 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2913, allocations: 0 / 0.8057 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2913, allocations: 4 kB / 0.8057 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.2919, allocations: 0.6219 MB / 0.8063 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.2919, allocations: 0 / 0.8063 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.2924, allocations: 91.78 kB / 0.8064 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.2924, allocations: 4 kB / 0.8064 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.2924, allocations: 11.98 kB / 0.8064 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2924, allocations: 7.938 kB / 0.8064 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2924, allocations: 0 / 0.8064 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.2938, allocations: 0.7432 MB / 0.8071 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.294, allocations: 196.2 kB / 0.8073 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.2941, allocations: 11.95 kB / 0.8073 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.2945, allocations: 39.97 kB / 0.8074 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.2946, allocations: 35.94 kB / 0.8074 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.2946, allocations: 15.98 kB / 0.8074 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004603/0.2951, allocations: 431.1 kB / 0.8078 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2951, allocations: 0 / 0.8078 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005723/0.2957, allocations: 219.3 kB / 0.808 GB, free: 6.102 MB / 0.6231 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000144/0.2958, allocations: 111.1 kB / 0.8082 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.2973, allocations: 0.8052 MB / 0.8089 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2973, allocations: 4 kB / 0.8089 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.2977, allocations: 231.9 kB / 0.8092 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007908/0.2985, allocations: 188.7 kB / 0.8093 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.3006, allocations: 1.38 MB / 0.8107 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.301, allocations: 0.9183 MB / 0.8116 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.3014, allocations: 93.19 kB / 0.8117 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3016, allocations: 55.36 kB / 0.8117 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of SimCode: time 1.423e-06/0.3016, allocations: 0 / 0.8117 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of Templates: time 0.01242/0.314, allocations: 6.899 MB / 0.8185 GB, free: 11.43 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: