Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",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.001258/0.001258, allocations: 102.9 kB / 16.27 MB, free: 5.984 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.001371/0.001371, allocations: 188.4 kB / 17.2 MB, free: 5.613 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.235/1.235, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7075/0.7075, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 0.4912 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2878, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00442/0.2923, allocations: 4.092 MB / 0.5713 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.2941, allocations: 1.314 MB / 0.5726 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.2944, allocations: 26.31 kB / 0.5726 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.2947, allocations: 127.1 kB / 0.5727 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.295, allocations: 179.8 kB / 0.5729 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.2957, allocations: 420.7 kB / 0.5733 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007149/0.2964, allocations: 0.9517 MB / 0.5742 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.2969, allocations: 459.9 kB / 0.5746 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.2972, allocations: 326.9 kB / 0.575 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.2975, allocations: 339 kB / 0.5753 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.2976, allocations: 91.31 kB / 0.5754 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2977, allocations: 89.62 kB / 0.5754 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2978, allocations: 176.5 kB / 0.5756 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.2981, allocations: 395.4 kB / 0.576 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008005/0.2989, allocations: 1.029 MB / 0.577 GB, free: 26.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2989, allocations: 1 kB / 0.577 GB, free: 26.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2989, allocations: 0 / 0.577 GB, free: 26.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.2989, allocations: 0 / 0.577 GB, free: 26.33 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001541/0.3005, allocations: 1.081 MB / 0.5781 GB, free: 25.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3005, allocations: 14.84 kB / 0.5781 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.665e-05/0.3006, allocations: 100.5 kB / 0.5782 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.3007, allocations: 86.66 kB / 0.5782 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.3014, allocations: 0.5499 MB / 0.5788 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.3014, allocations: 51.28 kB / 0.5788 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.3015, allocations: 63.47 kB / 0.5789 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009244/0.3024, allocations: 0.6112 MB / 0.5795 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.3025, allocations: 1.125 kB / 0.5795 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.3025, allocations: 26.17 kB / 0.5795 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3025, allocations: 15.06 kB / 0.5795 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009349/0.3035, allocations: 459 kB / 0.58 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.3059, allocations: 2.025 MB / 0.5819 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/0.3067, allocations: 445.7 kB / 0.5824 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/0.3071, allocations: 242.3 kB / 0.5826 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3071, allocations: 7.344 kB / 0.5826 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004606/0.3076, allocations: 259.9 kB / 0.5829 GB, free: 22.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 1.954e-06/0.3076, allocations: 0 / 0.5829 GB, free: 22.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001143/0.3088, allocations: 0.5851 MB / 0.5834 GB, free: 22.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.3088, allocations: 56.69 kB / 0.5835 GB, free: 22.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.3092, allocations: 444.7 kB / 0.5839 GB, free: 21.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3093, allocations: 36.7 kB / 0.5839 GB, free: 21.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3094, allocations: 330 kB / 0.5843 GB, free: 21.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.704e-05/0.3095, allocations: 161 kB / 0.5844 GB, free: 21.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.3097, allocations: 96.33 kB / 0.5845 GB, free: 21.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.3097, allocations: 363.7 kB / 0.5849 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.3101, allocations: 167.6 kB / 0.585 GB, free: 20.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.3105, allocations: 245.9 kB / 0.5852 GB, free: 20.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.3112, allocations: 453.6 kB / 0.5857 GB, free: 20.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3112, allocations: 1.5 kB / 0.5857 GB, free: 20.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009147/0.3121, allocations: 0.5691 MB / 0.5862 GB, free: 20.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3121, allocations: 32.8 kB / 0.5863 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3121, allocations: 2.031 kB / 0.5863 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3122, allocations: 10.38 kB / 0.5863 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.3126, allocations: 113.7 kB / 0.5864 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3127, allocations: 4.625 kB / 0.5864 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.3129, allocations: 62.22 kB / 0.5864 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.313, allocations: 23.61 kB / 0.5865 GB, free: 20.08 MB / 446.1 MB 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.0001871/0.3132, allocations: 203.7 kB / 0.5867 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.3133, allocations: 58 kB / 0.5867 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.3134, allocations: 66.86 kB / 0.5868 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3134, allocations: 4.656 kB / 0.5868 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3134, allocations: 1.812 kB / 0.5868 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3134, allocations: 9.359 kB / 0.5868 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.3148, allocations: 1.176 MB / 0.5879 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3148, allocations: 0 / 0.5879 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.3153, allocations: 92.55 kB / 0.588 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3153, allocations: 2.656 kB / 0.588 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.3153, allocations: 15.48 kB / 0.5881 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3153, allocations: 6.188 kB / 0.5881 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3153, allocations: 0 / 0.5881 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.3165, allocations: 0.7649 MB / 0.5888 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3166, allocations: 171.5 kB / 0.589 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.3167, allocations: 8.625 kB / 0.589 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.317, allocations: 26.81 kB / 0.589 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.3171, allocations: 37.02 kB / 0.589 GB, free: 18.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.3171, allocations: 10.56 kB / 0.5891 GB, free: 18.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.3174, allocations: 312.1 kB / 0.5893 GB, free: 18.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3174, allocations: 0 / 0.5893 GB, free: 18.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.3178, allocations: 142.1 kB / 0.5895 GB, free: 18.03 MB / 446.1 MB 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.001309/0.3191, allocations: 1.316 MB / 0.5908 GB, free: 17.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000963/0.3201, allocations: 0.4915 MB / 0.5912 GB, free: 16.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3201, allocations: 0 / 0.5912 GB, free: 16.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.3205, allocations: 219.9 kB / 0.5915 GB, free: 16.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.3212, allocations: 157.8 kB / 0.5916 GB, free: 16.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/0.3268, allocations: 4.892 MB / 0.5964 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3271, allocations: 0.8899 MB / 0.5973 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002452/0.3273, allocations: 64.58 kB / 0.5973 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.3275, allocations: 219.4 kB / 0.5975 GB, free: 11.22 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3276, allocations: 3.938 kB / 0.5975 GB, free: 11.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3521, allocations: 11.1 MB / 0.6084 GB, free: 328 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.309, allocations: 11.53 kB / 0.6084 GB, free: 320 kB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)