Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 107.4 kB / 16.64 MB, free: 6.816 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.001224/0.001224, allocations: 194 kB / 17.57 MB, free: 5.918 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.384/1.384, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9499/0.9499, allocations: 122.9 MB / 414.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.001759, allocations: 59.91 kB / 0.4912 GB, free: 7.863 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3835, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005439/0.389, allocations: 4.315 MB / 0.5715 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003661/0.3927, allocations: 1.537 MB / 0.573 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.3939, allocations: 34.62 kB / 0.5731 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.3945, allocations: 123.3 kB / 0.5732 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009359/0.3954, allocations: 180.2 kB / 0.5734 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.397, allocations: 0.6105 MB / 0.574 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.3985, allocations: 1.225 MB / 0.5751 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007749/0.3993, allocations: 0.4975 MB / 0.5756 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007156/0.4001, allocations: 481 kB / 0.5761 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/0.4006, allocations: 455.4 kB / 0.5765 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.4008, allocations: 106 kB / 0.5766 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.4009, allocations: 103.9 kB / 0.5767 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.4011, allocations: 231.5 kB / 0.5769 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003858/0.4015, allocations: 492.3 kB / 0.5774 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.4026, allocations: 0.8614 MB / 0.5783 GB, free: 25.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4026, allocations: 0 / 0.5783 GB, free: 25.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4026, allocations: 1.375 kB / 0.5783 GB, free: 25.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.972e-05/0.4027, allocations: 0 / 0.5783 GB, free: 25.61 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002567/0.4053, allocations: 1.393 MB / 0.5796 GB, free: 24.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4053, allocations: 8.844 kB / 0.5796 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.4055, allocations: 125.5 kB / 0.5797 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.4067, allocations: 0.7245 MB / 0.5805 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.4068, allocations: 85.2 kB / 0.5805 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4069, allocations: 70.5 kB / 0.5806 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.4083, allocations: 0.736 MB / 0.5813 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.4083, allocations: 5.344 kB / 0.5813 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.4084, allocations: 30.7 kB / 0.5814 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.4084, allocations: 16.59 kB / 0.5814 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.4096, allocations: 0.5164 MB / 0.5819 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/0.4129, allocations: 2.274 MB / 0.5841 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.4143, allocations: 0.6213 MB / 0.5847 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.4148, allocations: 275.7 kB / 0.585 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.281e-05/0.4149, allocations: 11.17 kB / 0.585 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007486/0.4156, allocations: 323.3 kB / 0.5853 GB, free: 21.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.707e-06/0.4157, allocations: 0 / 0.5853 GB, free: 21.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001799/0.4175, allocations: 0.7605 MB / 0.586 GB, free: 20.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4175, allocations: 84.23 kB / 0.5861 GB, free: 20.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009912/0.4185, allocations: 0.7508 MB / 0.5868 GB, free: 20.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.4186, allocations: 42.2 kB / 0.5869 GB, free: 20.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.4189, allocations: 437.1 kB / 0.5873 GB, free: 19.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.419, allocations: 208.8 kB / 0.5875 GB, free: 19.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.4192, allocations: 110.5 kB / 0.5876 GB, free: 19.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.4193, allocations: 332.4 kB / 0.5879 GB, free: 19.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.4198, allocations: 215.5 kB / 0.5881 GB, free: 19.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.4203, allocations: 304.7 kB / 0.5884 GB, free: 18.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009162/0.4212, allocations: 0.5025 MB / 0.5889 GB, free: 18.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4212, allocations: 0 / 0.5889 GB, free: 18.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001295/0.4225, allocations: 0.6496 MB / 0.5895 GB, free: 18.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4225, allocations: 9.547 kB / 0.5896 GB, free: 18.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4225, allocations: 2.281 kB / 0.5896 GB, free: 18.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.4226, allocations: 4.875 kB / 0.5896 GB, free: 18.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/0.4233, allocations: 149.7 kB / 0.5897 GB, free: 18.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.4233, allocations: 9.5 kB / 0.5897 GB, free: 18.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.4238, allocations: 77.62 kB / 0.5898 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.4238, allocations: 18.72 kB / 0.5898 GB, free: 18.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006236/0.4245, allocations: 356.7 kB / 0.5901 GB, free: 17.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004564/0.4249, allocations: 288.7 kB / 0.5904 GB, free: 17.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009082/0.4259, allocations: 0.4944 MB / 0.5909 GB, free: 17.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.4259, allocations: 0 / 0.5909 GB, free: 17.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001229/0.4271, allocations: 0.6287 MB / 0.5915 GB, free: 17.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4271, allocations: 9.297 kB / 0.5915 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4272, allocations: 3.406 kB / 0.5915 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.4272, allocations: 4.312 kB / 0.5915 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.4278, allocations: 147.2 kB / 0.5917 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.4278, allocations: 8.812 kB / 0.5917 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/0.4283, allocations: 53.27 kB / 0.5917 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.4284, allocations: 23.27 kB / 0.5918 GB, free: 17.01 MB / 446.1 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.0002082/0.4286, allocations: 218.1 kB / 0.592 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.4288, allocations: 95.69 kB / 0.5921 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.429, allocations: 104.7 kB / 0.5922 GB, free: 16.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.4291, allocations: 6.625 kB / 0.5922 GB, free: 16.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.4291, allocations: 3.938 kB / 0.5922 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4291, allocations: 3.984 kB / 0.5922 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.4316, allocations: 1.438 MB / 0.5936 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4316, allocations: 0 / 0.5936 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.4322, allocations: 107.8 kB / 0.5937 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.4322, allocations: 4 kB / 0.5937 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.4323, allocations: 15.98 kB / 0.5937 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.4323, allocations: 0 / 0.5937 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4323, allocations: 7.984 kB / 0.5937 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.4338, allocations: 0.9625 MB / 0.5946 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.4342, allocations: 223.8 kB / 0.5949 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.4343, allocations: 20 kB / 0.5949 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.4348, allocations: 27.97 kB / 0.5949 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.4349, allocations: 36.52 kB / 0.5949 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.435, allocations: 19.98 kB / 0.595 GB, free: 14.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006325/0.4356, allocations: 0.5146 MB / 0.5955 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4356, allocations: 0 / 0.5955 GB, free: 13.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008404/0.4365, allocations: 279 kB / 0.5957 GB, free: 13.41 MB / 446.1 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.00015/0.4366, allocations: 123.1 kB / 0.5958 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.4384, allocations: 0.817 MB / 0.5966 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.4384, allocations: 0 / 0.5966 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.4389, allocations: 267.1 kB / 0.5969 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.4403, allocations: 269.7 kB / 0.5971 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.4432, allocations: 1.928 MB / 0.599 GB, free: 9.988 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.4436, allocations: 0.9898 MB / 0.6 GB, free: 8.969 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.4439, allocations: 67.36 kB / 0.6001 GB, free: 8.902 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4439, allocations: 4 kB / 0.6001 GB, free: 8.898 MB / 446.1 MB Notification: Performance of Templates: time 0.01593/0.4598, allocations: 10.93 MB / 0.6107 GB, free: 14.04 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)