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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 107.4 kB / 15.99 MB, free: 6.355 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.001196/0.001196, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.218/1.218, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6596/0.6596, allocations: 115.3 MB / 406.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 63.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2768, allocations: 76.17 MB / 0.556 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004343/0.2812, allocations: 4.323 MB / 0.5602 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.2837, allocations: 1.539 MB / 0.5617 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005825/0.2843, allocations: 35.97 kB / 0.5618 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.2847, allocations: 119.1 kB / 0.5619 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005298/0.2852, allocations: 185.7 kB / 0.5621 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.2863, allocations: 0.6164 MB / 0.5627 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008803/0.2872, allocations: 1.225 MB / 0.5639 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005754/0.2877, allocations: 0.4945 MB / 0.5643 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.2882, allocations: 475 kB / 0.5648 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.2885, allocations: 462 kB / 0.5652 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.2886, allocations: 102.2 kB / 0.5653 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.2888, allocations: 102.8 kB / 0.5654 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.2889, allocations: 232 kB / 0.5656 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.2892, allocations: 490 kB / 0.5661 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008103/0.29, allocations: 1.112 MB / 0.5672 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.29, allocations: 0 / 0.5672 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.29, allocations: 0 / 0.5672 GB, free: 29.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.29, allocations: 2.5 kB / 0.5672 GB, free: 29.04 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.002254/0.2923, allocations: 1.401 MB / 0.5686 GB, free: 28.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2923, allocations: 8.938 kB / 0.5686 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.2924, allocations: 113.7 kB / 0.5687 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.2926, allocations: 119.4 kB / 0.5688 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009713/0.2936, allocations: 0.7237 MB / 0.5695 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.2937, allocations: 93.03 kB / 0.5696 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.2938, allocations: 70.17 kB / 0.5697 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.2949, allocations: 0.7322 MB / 0.5704 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.2949, allocations: 1.625 kB / 0.5704 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.295, allocations: 25.91 kB / 0.5704 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.295, allocations: 18.14 kB / 0.5704 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/0.296, allocations: 0.5169 MB / 0.5709 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.2988, allocations: 2.276 MB / 0.5732 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.3, allocations: 0.6187 MB / 0.5738 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.3005, allocations: 279.1 kB / 0.574 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.3006, allocations: 7.328 kB / 0.574 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006372/0.3012, allocations: 320.7 kB / 0.5743 GB, free: 25.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.984e-06/0.3012, allocations: 0.9062 kB / 0.5743 GB, free: 25.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.00141/0.3026, allocations: 0.7538 MB / 0.5751 GB, free: 24.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.3027, allocations: 90.45 kB / 0.5752 GB, free: 24.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/0.3034, allocations: 0.7577 MB / 0.5759 GB, free: 24.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.3035, allocations: 39.89 kB / 0.5759 GB, free: 24.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.3037, allocations: 441.6 kB / 0.5764 GB, free: 23.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.3038, allocations: 206.9 kB / 0.5766 GB, free: 23.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.304, allocations: 105.3 kB / 0.5767 GB, free: 23.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.3041, allocations: 332 kB / 0.577 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.3045, allocations: 208.8 kB / 0.5772 GB, free: 23.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.3049, allocations: 302.4 kB / 0.5775 GB, free: 23.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/0.3058, allocations: 0.5076 MB / 0.578 GB, free: 22.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3058, allocations: 0 / 0.578 GB, free: 22.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001047/0.3068, allocations: 0.6597 MB / 0.5786 GB, free: 22.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3069, allocations: 6.031 kB / 0.5786 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3069, allocations: 3.75 kB / 0.5786 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3069, allocations: 3.562 kB / 0.5786 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.3075, allocations: 147.6 kB / 0.5788 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3075, allocations: 10.17 kB / 0.5788 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.3079, allocations: 72.61 kB / 0.5788 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.308, allocations: 20.28 kB / 0.5789 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005302/0.3085, allocations: 355.2 kB / 0.5792 GB, free: 22.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003965/0.3089, allocations: 293.8 kB / 0.5795 GB, free: 22.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007282/0.3096, allocations: 0.489 MB / 0.5799 GB, free: 21.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.3096, allocations: 0 / 0.5799 GB, free: 21.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009752/0.3106, allocations: 0.627 MB / 0.5806 GB, free: 21.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.3106, allocations: 7.391 kB / 0.5806 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3107, allocations: 9.25 kB / 0.5806 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.3107, allocations: 5.469 kB / 0.5806 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.3112, allocations: 142.4 kB / 0.5807 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.3113, allocations: 10.98 kB / 0.5807 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.3116, allocations: 55.75 kB / 0.5808 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.3117, allocations: 20.03 kB / 0.5808 GB, free: 21.51 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.0001107/0.3118, allocations: 227.7 kB / 0.581 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.3119, allocations: 91 kB / 0.5811 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.3121, allocations: 103.2 kB / 0.5812 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3121, allocations: 5.578 kB / 0.5812 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3121, allocations: 9.062 kB / 0.5812 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.3121, allocations: 3.047 kB / 0.5812 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.314, allocations: 1.44 MB / 0.5826 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.314, allocations: 3.938 kB / 0.5826 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.3145, allocations: 102 kB / 0.5827 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3145, allocations: 2.219 kB / 0.5827 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.3146, allocations: 13.19 kB / 0.5827 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3146, allocations: 7.391 kB / 0.5827 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3146, allocations: 0 / 0.5827 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.3161, allocations: 0.9668 MB / 0.5837 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.3163, allocations: 223.7 kB / 0.5839 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/0.3164, allocations: 11.7 kB / 0.5839 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.3168, allocations: 32.73 kB / 0.5839 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.3169, allocations: 34.61 kB / 0.584 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.3169, allocations: 19.16 kB / 0.584 GB, free: 19.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000526/0.3175, allocations: 0.5164 MB / 0.5845 GB, free: 19.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3175, allocations: 4 kB / 0.5845 GB, free: 19.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006246/0.3181, allocations: 274 kB / 0.5848 GB, free: 19.4 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.001621/0.3197, allocations: 1.518 MB / 0.5862 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.3213, allocations: 0.8192 MB / 0.5871 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3214, allocations: 0 / 0.5871 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004609/0.3218, allocations: 275 kB / 0.5873 GB, free: 18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.3229, allocations: 264.2 kB / 0.5876 GB, free: 17.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008163/0.3311, allocations: 7.276 MB / 0.5947 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3314, allocations: 1.005 MB / 0.5957 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004432/0.3318, allocations: 110.7 kB / 0.5958 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.3322, allocations: 355.3 kB / 0.5961 GB, free: 10.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3322, allocations: 0 / 0.5961 GB, free: 10.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.3593, allocations: 17.02 MB / 0.6127 GB, free: 9.945 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.3595, allocations: 199.4 kB / 0.6129 GB, free: 9.691 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.327, allocations: 0 / 0.6129 GB, free: 9.691 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)