Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.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.SetPoints.Examples.Table,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.Table,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_Table",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.001071/0.001071, allocations: 102.5 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.001167/0.001167, allocations: 190.5 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.233/1.233, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7115/0.7115, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2981, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.Table): time 0.00258/0.3007, allocations: 1.641 MB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007445/0.3014, allocations: 0.5205 MB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.3015, allocations: 1.031 kB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.302, allocations: 175 kB / 0.5696 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.3023, allocations: 169.2 kB / 0.5697 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.3027, allocations: 185.8 kB / 0.5699 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.303, allocations: 207.8 kB / 0.5701 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3031, allocations: 36.84 kB / 0.5701 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.94e-05/0.3032, allocations: 84.94 kB / 0.5702 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.3034, allocations: 160.9 kB / 0.5704 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.3034, allocations: 12 kB / 0.5704 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.3035, allocations: 45.14 kB / 0.5704 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.869e-05/0.3036, allocations: 75.03 kB / 0.5705 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.3037, allocations: 93.91 kB / 0.5706 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.304, allocations: 264.4 kB / 0.5708 GB, free: 30.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.304, allocations: 0.5938 kB / 0.5708 GB, free: 30.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.304, allocations: 3.938 kB / 0.5708 GB, free: 30.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.304, allocations: 0.6875 kB / 0.5708 GB, free: 30.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006148/0.3046, allocations: 0.5818 MB / 0.5714 GB, free: 30.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3047, allocations: 11.34 kB / 0.5714 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.3047, allocations: 37.56 kB / 0.5714 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.3047, allocations: 30.44 kB / 0.5715 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.3051, allocations: 364.6 kB / 0.5718 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.3051, allocations: 5.531 kB / 0.5718 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.3052, allocations: 9.031 kB / 0.5718 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3053, allocations: 73.88 kB / 0.5719 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3053, allocations: 0.625 kB / 0.5719 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3054, allocations: 7.047 kB / 0.5719 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3054, allocations: 1.188 kB / 0.5719 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.3056, allocations: 49.62 kB / 0.572 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.306, allocations: 432.5 kB / 0.5724 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.3061, allocations: 48.86 kB / 0.5724 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.3062, allocations: 30.98 kB / 0.5725 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3063, allocations: 3.25 kB / 0.5725 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.3063, allocations: 30.56 kB / 0.5725 GB, free: 29.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3063, allocations: 3.281 kB / 0.5725 GB, free: 29.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003632/0.3067, allocations: 116.2 kB / 0.5726 GB, free: 29.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.3067, allocations: 53.38 kB / 0.5726 GB, free: 29.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.3072, allocations: 0.5094 MB / 0.5731 GB, free: 28.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.3072, allocations: 31.98 kB / 0.5732 GB, free: 28.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.3073, allocations: 166.5 kB / 0.5733 GB, free: 28.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.3073, allocations: 8.281 kB / 0.5733 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.3073, allocations: 16.89 kB / 0.5734 GB, free: 28.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.3074, allocations: 342.6 kB / 0.5737 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.3075, allocations: 29.09 kB / 0.5737 GB, free: 28.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.3076, allocations: 17.22 kB / 0.5737 GB, free: 28.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3077, allocations: 50.31 kB / 0.5738 GB, free: 28.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3077, allocations: 0 / 0.5738 GB, free: 28.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002179/0.308, allocations: 105.5 kB / 0.5739 GB, free: 28.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.308, allocations: 5.438 kB / 0.5739 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.308, allocations: 0.5156 kB / 0.5739 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.308, allocations: 0 / 0.5739 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.3081, allocations: 10.5 kB / 0.5739 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3081, allocations: 1.062 kB / 0.5739 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.566e-05/0.3082, allocations: 11.95 kB / 0.5739 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.3082, allocations: 5.188 kB / 0.5739 GB, free: 28.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001044/0.3083, allocations: 168 kB / 0.5741 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.3084, allocations: 29.14 kB / 0.5741 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.3086, allocations: 110.9 kB / 0.5742 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3086, allocations: 1.312 kB / 0.5742 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3086, allocations: 3.938 kB / 0.5742 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3087, allocations: 7.062 kB / 0.5742 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.3089, allocations: 257.9 kB / 0.5745 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3089, allocations: 0.6094 kB / 0.5745 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.3089, allocations: 11.08 kB / 0.5745 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3089, allocations: 0.7188 kB / 0.5745 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.309, allocations: 5.641 kB / 0.5745 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.309, allocations: 1.969 kB / 0.5745 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.309, allocations: 5.219 kB / 0.5745 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3092, allocations: 195 kB / 0.5747 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.3093, allocations: 113.7 kB / 0.5748 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.3093, allocations: 1.25 kB / 0.5748 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3094, allocations: 7.719 kB / 0.5748 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.3094, allocations: 6.5 kB / 0.5748 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.3095, allocations: 2.391 kB / 0.5748 GB, free: 27.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003715/0.3098, allocations: 389.9 kB / 0.5752 GB, free: 27.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3098, allocations: 0 / 0.5752 GB, free: 27.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.3101, allocations: 24.34 kB / 0.5752 GB, free: 27.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0009898/0.3111, allocations: 0.9737 MB / 0.5761 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.3113, allocations: 40.23 kB / 0.5762 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3113, allocations: 7.938 kB / 0.5762 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.3114, allocations: 24.16 kB / 0.5762 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3118, allocations: 54.59 kB / 0.5763 GB, free: 26.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.3144, allocations: 2.599 MB / 0.5788 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.3146, allocations: 0.777 MB / 0.5796 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.3147, allocations: 36.41 kB / 0.5796 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.609e-05/0.3148, allocations: 84.67 kB / 0.5797 GB, free: 24.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3148, allocations: 0.75 kB / 0.5797 GB, free: 24.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.3338, allocations: 4.925 MB / 0.5845 GB, free: 22.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.384, allocations: 8.625 kB / 0.5845 GB, free: 22.36 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table_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_SetPoints_Examples_Table.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.Table.pipe 2>&1)