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.00111/0.00111, allocations: 102.5 kB / 16.27 MB, free: 5.977 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.0011/0.0011, allocations: 186.4 kB / 17.19 MB, free: 5.605 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.197/1.197, 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.6862/0.6862, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 0.4912 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2687, allocations: 77.93 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004074/0.2728, allocations: 4.32 MB / 0.5715 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2748, allocations: 1.576 MB / 0.573 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.2752, allocations: 35.12 kB / 0.5731 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.2755, allocations: 166.4 kB / 0.5732 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004957/0.276, allocations: 228.7 kB / 0.5734 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009494/0.2769, allocations: 0.6698 MB / 0.5741 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008377/0.2778, allocations: 1.211 MB / 0.5753 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005536/0.2783, allocations: 0.5042 MB / 0.5758 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.2787, allocations: 465.1 kB / 0.5762 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.2791, allocations: 461.2 kB / 0.5767 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.2792, allocations: 104.2 kB / 0.5768 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.2793, allocations: 102.2 kB / 0.5768 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.2795, allocations: 232 kB / 0.5771 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.2798, allocations: 490.8 kB / 0.5775 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007996/0.2806, allocations: 1.114 MB / 0.5786 GB, free: 25.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2806, allocations: 3.938 kB / 0.5786 GB, free: 25.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2806, allocations: 1.75 kB / 0.5786 GB, free: 25.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.2806, allocations: 0 / 0.5786 GB, free: 25.45 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.001885/0.2825, allocations: 1.393 MB / 0.58 GB, free: 24.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2825, allocations: 10.23 kB / 0.58 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.881e-05/0.2826, allocations: 113.8 kB / 0.5801 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.2828, allocations: 126.5 kB / 0.5802 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009112/0.2837, allocations: 0.7303 MB / 0.5809 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.483e-05/0.2838, allocations: 81.14 kB / 0.581 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/0.2838, allocations: 74.72 kB / 0.5811 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/0.2848, allocations: 0.7293 MB / 0.5818 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2849, allocations: 5.766 kB / 0.5818 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.2849, allocations: 31.19 kB / 0.5818 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2849, allocations: 17.34 kB / 0.5819 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009394/0.2859, allocations: 0.5166 MB / 0.5824 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.2883, allocations: 2.271 MB / 0.5846 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.2895, allocations: 0.6211 MB / 0.5852 GB, free: 21.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.29, allocations: 275.2 kB / 0.5854 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.29, allocations: 11.14 kB / 0.5855 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.2906, allocations: 324 kB / 0.5858 GB, free: 20.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.783e-06/0.2906, allocations: 0 / 0.5858 GB, free: 20.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001342/0.2919, allocations: 0.7562 MB / 0.5865 GB, free: 20.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.292, allocations: 92.53 kB / 0.5866 GB, free: 20.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00066/0.2926, allocations: 0.7467 MB / 0.5873 GB, free: 19.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.2927, allocations: 40.64 kB / 0.5874 GB, free: 19.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.2929, allocations: 441.8 kB / 0.5878 GB, free: 19.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/0.293, allocations: 204 kB / 0.588 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2931, allocations: 115.3 kB / 0.5881 GB, free: 19.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.2932, allocations: 327.8 kB / 0.5884 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.2936, allocations: 211.5 kB / 0.5886 GB, free: 18.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.294, allocations: 308.1 kB / 0.5889 GB, free: 18.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008001/0.2948, allocations: 0.5036 MB / 0.5894 GB, free: 18.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2948, allocations: 0 / 0.5894 GB, free: 18.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001028/0.2959, allocations: 0.6517 MB / 0.59 GB, free: 17.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2959, allocations: 5.375 kB / 0.59 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2959, allocations: 5.688 kB / 0.59 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2959, allocations: 5.719 kB / 0.59 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.2965, allocations: 148.5 kB / 0.5902 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.2965, allocations: 14 kB / 0.5902 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.2969, allocations: 68.88 kB / 0.5903 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.297, allocations: 19.56 kB / 0.5903 GB, free: 17.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004887/0.2974, allocations: 360.3 kB / 0.5906 GB, free: 17.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000384/0.2978, allocations: 286.7 kB / 0.5909 GB, free: 17.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007188/0.2986, allocations: 0.4906 MB / 0.5914 GB, free: 17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.2986, allocations: 0 / 0.5914 GB, free: 17 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009435/0.2995, allocations: 0.6325 MB / 0.592 GB, free: 16.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.2995, allocations: 6 kB / 0.592 GB, free: 16.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2996, allocations: 6.297 kB / 0.592 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.2996, allocations: 4.719 kB / 0.592 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.3001, allocations: 142.9 kB / 0.5921 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3001, allocations: 5.781 kB / 0.5922 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.3005, allocations: 56.23 kB / 0.5922 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.3005, allocations: 24.14 kB / 0.5922 GB, free: 16.58 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.0001019/0.3006, allocations: 219.5 kB / 0.5924 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.3007, allocations: 94.38 kB / 0.5925 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.3009, allocations: 102.2 kB / 0.5926 GB, free: 16.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3009, allocations: 5.25 kB / 0.5926 GB, free: 16.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3009, allocations: 9 kB / 0.5926 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3009, allocations: 7.984 kB / 0.5926 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.3025, allocations: 1.436 MB / 0.594 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3025, allocations: 3.938 kB / 0.5941 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.303, allocations: 111.9 kB / 0.5942 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.303, allocations: 0 / 0.5942 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.303, allocations: 15.98 kB / 0.5942 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3031, allocations: 7.984 kB / 0.5942 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3031, allocations: 0 / 0.5942 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3043, allocations: 0.9664 MB / 0.5951 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.3045, allocations: 215.8 kB / 0.5953 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-05/0.3046, allocations: 15.98 kB / 0.5953 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.305, allocations: 35.97 kB / 0.5954 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.3051, allocations: 32.52 kB / 0.5954 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.3051, allocations: 19.98 kB / 0.5954 GB, free: 13.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000403/0.3055, allocations: 0.5185 MB / 0.5959 GB, free: 12.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3055, allocations: 0 / 0.5959 GB, free: 12.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005346/0.3061, allocations: 275 kB / 0.5962 GB, free: 12.69 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.001416/0.3075, allocations: 1.527 MB / 0.5977 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.3089, allocations: 0.8235 MB / 0.5985 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3089, allocations: 0 / 0.5985 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.3093, allocations: 271.1 kB / 0.5988 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009582/0.3103, allocations: 254.2 kB / 0.599 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/0.3167, allocations: 6.974 MB / 0.6058 GB, free: 2.539 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.317, allocations: 0.9898 MB / 0.6068 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003731/0.3174, allocations: 122.6 kB / 0.6069 GB, free: 1.398 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.3177, allocations: 347.3 kB / 0.6072 GB, free: 1.059 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3177, allocations: 0 / 0.6072 GB, free: 1.059 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.625/4.943, allocations: 17.19 MB / 0.624 GB, free: 104 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/13.14, allocations: 8.516 kB / 0.624 GB, free: 100 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 & /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)