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.001206/0.001206, allocations: 104.8 kB / 16.27 MB, free: 5.93 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.001288/0.001288, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.237/1.237, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7126/0.7126, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2846, allocations: 77.93 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004891/0.2895, allocations: 4.32 MB / 0.5715 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.292, allocations: 1.574 MB / 0.573 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.2925, allocations: 37.03 kB / 0.5731 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.2928, allocations: 166.2 kB / 0.5732 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.2934, allocations: 233.3 kB / 0.5734 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.2945, allocations: 0.6673 MB / 0.5741 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009714/0.2955, allocations: 1.218 MB / 0.5753 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006172/0.2961, allocations: 0.5042 MB / 0.5758 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.2966, allocations: 464.4 kB / 0.5762 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.297, allocations: 464.3 kB / 0.5767 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.2971, allocations: 102.4 kB / 0.5768 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.2973, allocations: 102.1 kB / 0.5769 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.2974, allocations: 231.8 kB / 0.5771 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.2977, allocations: 491 kB / 0.5775 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.2986, allocations: 1.106 MB / 0.5786 GB, free: 25.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2986, allocations: 5.969 kB / 0.5786 GB, free: 25.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2986, allocations: 0 / 0.5786 GB, free: 25.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.2987, allocations: 0 / 0.5786 GB, free: 25.42 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.00203/0.3007, allocations: 1.401 MB / 0.58 GB, free: 24.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3007, allocations: 11.62 kB / 0.58 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.3009, allocations: 113 kB / 0.5801 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.301, allocations: 126.4 kB / 0.5802 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.302, allocations: 0.7296 MB / 0.581 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.3021, allocations: 82.3 kB / 0.581 GB, free: 23.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.193e-05/0.3022, allocations: 73.09 kB / 0.5811 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.3032, allocations: 0.7301 MB / 0.5818 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3032, allocations: 1.75 kB / 0.5818 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.3033, allocations: 33.67 kB / 0.5818 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.3033, allocations: 17.69 kB / 0.5819 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009941/0.3043, allocations: 0.5131 MB / 0.5824 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.3069, allocations: 2.272 MB / 0.5846 GB, free: 21.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.3082, allocations: 0.6195 MB / 0.5852 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/0.3087, allocations: 275.7 kB / 0.5855 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.3087, allocations: 15.77 kB / 0.5855 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005719/0.3093, allocations: 319.2 kB / 0.5858 GB, free: 20.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.014e-06/0.3093, allocations: 0 / 0.5858 GB, free: 20.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001468/0.3108, allocations: 0.7527 MB / 0.5865 GB, free: 20.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3108, allocations: 92.5 kB / 0.5866 GB, free: 20.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.3116, allocations: 0.75 MB / 0.5873 GB, free: 19.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.3116, allocations: 36.95 kB / 0.5874 GB, free: 19.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.3118, allocations: 445.1 kB / 0.5878 GB, free: 19.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.312, allocations: 206.5 kB / 0.588 GB, free: 19.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3121, allocations: 118.5 kB / 0.5881 GB, free: 19.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.3122, allocations: 323.2 kB / 0.5884 GB, free: 18.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.3126, allocations: 213.4 kB / 0.5886 GB, free: 18.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.3131, allocations: 302.8 kB / 0.5889 GB, free: 18.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008535/0.3139, allocations: 0.5106 MB / 0.5894 GB, free: 18.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3139, allocations: 5.156 kB / 0.5894 GB, free: 18.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001097/0.315, allocations: 0.6528 MB / 0.59 GB, free: 17.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3151, allocations: 5.594 kB / 0.59 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3151, allocations: 2.375 kB / 0.59 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3151, allocations: 5.656 kB / 0.5901 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/0.3157, allocations: 145 kB / 0.5902 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.3157, allocations: 9.094 kB / 0.5902 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.3162, allocations: 69.31 kB / 0.5903 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.3162, allocations: 23.75 kB / 0.5903 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005241/0.3167, allocations: 357.8 kB / 0.5906 GB, free: 17.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004075/0.3172, allocations: 296.5 kB / 0.5909 GB, free: 17.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007664/0.3179, allocations: 493.6 kB / 0.5914 GB, free: 16.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.3179, allocations: 1.031 kB / 0.5914 GB, free: 16.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009984/0.3189, allocations: 0.629 MB / 0.592 GB, free: 16.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.319, allocations: 7.625 kB / 0.592 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.319, allocations: 2.281 kB / 0.592 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.319, allocations: 5.188 kB / 0.592 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.3196, allocations: 142.1 kB / 0.5921 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3196, allocations: 13.56 kB / 0.5922 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.32, allocations: 53.3 kB / 0.5922 GB, free: 16.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.32, allocations: 23.84 kB / 0.5922 GB, free: 16.5 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.0001366/0.3201, allocations: 216.6 kB / 0.5924 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.3203, allocations: 95.25 kB / 0.5925 GB, free: 16.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.3204, allocations: 105.8 kB / 0.5926 GB, free: 16.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3204, allocations: 9.625 kB / 0.5926 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.3204, allocations: 7.875 kB / 0.5926 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3205, allocations: 5.391 kB / 0.5927 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.3222, allocations: 1.438 MB / 0.5941 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3222, allocations: 3.938 kB / 0.5941 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.3227, allocations: 103.9 kB / 0.5942 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3227, allocations: 4 kB / 0.5942 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.3228, allocations: 19.98 kB / 0.5942 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3228, allocations: 0 / 0.5942 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3228, allocations: 0 / 0.5942 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.3242, allocations: 0.9625 MB / 0.5951 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.3244, allocations: 215.8 kB / 0.5953 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/0.3244, allocations: 15.98 kB / 0.5953 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.3249, allocations: 35.97 kB / 0.5954 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.325, allocations: 32.52 kB / 0.5954 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.325, allocations: 19.98 kB / 0.5954 GB, free: 13.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004532/0.3255, allocations: 0.5185 MB / 0.5959 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3255, allocations: 0 / 0.5959 GB, free: 12.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006178/0.3261, allocations: 279 kB / 0.5962 GB, free: 12.64 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.001504/0.3276, allocations: 1.523 MB / 0.5977 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.3291, allocations: 0.8235 MB / 0.5985 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3291, allocations: 0 / 0.5985 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.3295, allocations: 267.1 kB / 0.5987 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.3306, allocations: 263 kB / 0.599 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006866/0.3374, allocations: 6.969 MB / 0.6058 GB, free: 2.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3377, allocations: 0.9898 MB / 0.6068 GB, free: 1.469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004411/0.3382, allocations: 118.8 kB / 0.6069 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.3385, allocations: 347.3 kB / 0.6072 GB, free: 1.008 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3385, allocations: 0 / 0.6072 GB, free: 1.008 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/0.3818, allocations: 17.2 MB / 0.624 GB, free: 40 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.576, allocations: 13.3 kB / 0.624 GB, free: 32 kB / 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)