Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008714/0.0008707, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007206/0.007206, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.808/1.808, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005399/0.0005397, allocations: 14.56 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2882, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004664/0.293, allocations: 3.728 MB / 0.7915 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002597/0.2956, allocations: 1.314 MB / 0.7928 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.2959, allocations: 27.81 kB / 0.7928 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.2962, allocations: 95.2 kB / 0.7929 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.2966, allocations: 150.8 kB / 0.7931 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.2974, allocations: 382.6 kB / 0.7934 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008383/0.2983, allocations: 0.8734 MB / 0.7943 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005988/0.2989, allocations: 422.4 kB / 0.7947 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.2991, allocations: 238.6 kB / 0.7949 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.2994, allocations: 250.4 kB / 0.7951 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.2995, allocations: 24 kB / 0.7952 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.916e-05/0.2996, allocations: 24 kB / 0.7952 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.881e-05/0.2997, allocations: 99.42 kB / 0.7953 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.3, allocations: 331.8 kB / 0.7956 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000806/0.3008, allocations: 0.9651 MB / 0.7965 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3008, allocations: 0 / 0.7965 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3008, allocations: 0 / 0.7965 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3008, allocations: 0 / 0.7965 GB, free: 2.629 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001656/0.3025, allocations: 0.9524 MB / 0.7975 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.3025, allocations: 12.03 kB / 0.7975 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.3027, allocations: 80 kB / 0.7976 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.3035, allocations: 0.5494 MB / 0.7981 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.3035, allocations: 45.69 kB / 0.7981 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.515e-05/0.3036, allocations: 68.28 kB / 0.7982 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.3048, allocations: 0.604 MB / 0.7988 GB, free: 204 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3048, allocations: 7.938 kB / 0.7988 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.3048, allocations: 24 kB / 0.7988 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.3049, allocations: 16 kB / 0.7988 GB, free: 156 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.3059, allocations: 465 kB / 0.7993 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.3087, allocations: 2.028 MB / 0.8013 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/0.3096, allocations: 464.9 kB / 0.8017 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.3101, allocations: 246.1 kB / 0.8019 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.3101, allocations: 8.438 kB / 0.8019 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000582/0.3107, allocations: 269.2 kB / 0.8022 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.585e-06/0.3107, allocations: 0 / 0.8022 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001425/0.3122, allocations: 0.6003 MB / 0.8028 GB, free: 12 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.3122, allocations: 59.84 kB / 0.8028 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.3128, allocations: 445.9 kB / 0.8033 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.3129, allocations: 33.7 kB / 0.8033 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.3132, allocations: 328.2 kB / 0.8036 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.3133, allocations: 161.7 kB / 0.8038 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.3134, allocations: 57.62 kB / 0.8038 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3136, allocations: 366.8 kB / 0.8042 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.3141, allocations: 173 kB / 0.8043 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.3145, allocations: 261.8 kB / 0.8046 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.3154, allocations: 460 kB / 0.805 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3154, allocations: 0 / 0.805 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001032/0.3165, allocations: 0.5663 MB / 0.8056 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.3165, allocations: 45.88 kB / 0.8056 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3165, allocations: 4 kB / 0.8056 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3166, allocations: 4 kB / 0.8056 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.317, allocations: 115.8 kB / 0.8057 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3171, allocations: 4 kB / 0.8057 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.3174, allocations: 75.41 kB / 0.8058 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.3175, allocations: 20 kB / 0.8058 GB, free: 8.758 MB / 0.6231 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.0002665/0.3177, allocations: 206.4 kB / 0.806 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.3178, allocations: 59.28 kB / 0.8061 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.318, allocations: 65.58 kB / 0.8062 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.318, allocations: 4 kB / 0.8062 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.318, allocations: 0 / 0.8062 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.318, allocations: 7.984 kB / 0.8062 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.3198, allocations: 1.189 MB / 0.8073 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3198, allocations: 4 kB / 0.8073 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.3202, allocations: 99.88 kB / 0.8074 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3202, allocations: 4 kB / 0.8074 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.3203, allocations: 8 kB / 0.8074 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3203, allocations: 4 kB / 0.8074 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3203, allocations: 0 / 0.8074 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.3216, allocations: 0.7757 MB / 0.8082 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.3218, allocations: 172.2 kB / 0.8084 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.3219, allocations: 16 kB / 0.8084 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.3222, allocations: 31.97 kB / 0.8084 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.3223, allocations: 36.38 kB / 0.8084 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.3223, allocations: 12 kB / 0.8085 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003431/0.3227, allocations: 310.9 kB / 0.8088 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3227, allocations: 0 / 0.8088 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004365/0.3231, allocations: 139.5 kB / 0.8089 GB, free: 5.531 MB / 0.6231 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.0001895/0.3233, allocations: 115.2 kB / 0.809 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009064/0.3242, allocations: 497.5 kB / 0.8095 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3242, allocations: 0 / 0.8095 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.3247, allocations: 218.4 kB / 0.8097 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007976/0.3255, allocations: 162.8 kB / 0.8098 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.3282, allocations: 1.696 MB / 0.8115 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.3287, allocations: 0.8863 MB / 0.8124 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002572/0.329, allocations: 64.53 kB / 0.8124 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3291, allocations: 35.44 kB / 0.8124 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.3291, allocations: 0 / 0.8124 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of Templates: time 0.01067/0.3398, allocations: 5.541 MB / 0.8179 GB, free: 12.34 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: