Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_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.005101/0.005101, allocations: 102 kB / 15.73 MB, free: 6.441 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.001493/0.001493, allocations: 194 kB / 16.67 MB, free: 6.352 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 286.5 kB / 290.8 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.044/1.044, allocations: 178.6 MB / 0.5074 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 95.86 kB / 0.6942 GB, free: 3.648 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.414, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002827/0.4168, allocations: 1.666 MB / 0.7829 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.4178, allocations: 0.5049 MB / 0.7834 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.4179, allocations: 5.344 kB / 0.7834 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.4184, allocations: 183.1 kB / 0.7836 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.4187, allocations: 163.7 kB / 0.7838 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.4191, allocations: 194.3 kB / 0.7839 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.4194, allocations: 198.1 kB / 0.7841 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.4195, allocations: 35.44 kB / 0.7842 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.4197, allocations: 88.45 kB / 0.7842 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.4199, allocations: 155.8 kB / 0.7844 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.4199, allocations: 11.56 kB / 0.7844 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.023e-05/0.42, allocations: 39.8 kB / 0.7844 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.871e-05/0.4201, allocations: 81.09 kB / 0.7845 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.4202, allocations: 93.23 kB / 0.7846 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.4206, allocations: 274.1 kB / 0.7849 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4206, allocations: 0 / 0.7849 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4206, allocations: 0 / 0.7849 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.4206, allocations: 0 / 0.7849 GB, free: 11.75 MB / 0.5606 GB 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.0008327/0.4214, allocations: 0.5959 MB / 0.7855 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.4215, allocations: 10.34 kB / 0.7855 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.4215, allocations: 32.81 kB / 0.7855 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.4216, allocations: 35.44 kB / 0.7855 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.4221, allocations: 371.7 kB / 0.7859 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.4221, allocations: 5.594 kB / 0.7859 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.4221, allocations: 3.875 kB / 0.7859 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.4223, allocations: 78.12 kB / 0.786 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4223, allocations: 4 kB / 0.786 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.4223, allocations: 1.531 kB / 0.786 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4224, allocations: 0.7031 kB / 0.786 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.4226, allocations: 57.25 kB / 0.786 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.4231, allocations: 425.3 kB / 0.7864 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.4233, allocations: 52.69 kB / 0.7865 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.4234, allocations: 24.88 kB / 0.7865 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.4234, allocations: 5.203 kB / 0.7865 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.4235, allocations: 36.52 kB / 0.7865 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4235, allocations: 0 / 0.7865 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004057/0.4239, allocations: 121.4 kB / 0.7867 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.4239, allocations: 52.66 kB / 0.7867 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.4245, allocations: 0.5132 MB / 0.7872 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.4245, allocations: 26.98 kB / 0.7872 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.4247, allocations: 166.8 kB / 0.7874 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.4247, allocations: 14 kB / 0.7874 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.4248, allocations: 17.81 kB / 0.7874 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4249, allocations: 345.6 kB / 0.7878 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.587e-05/0.425, allocations: 20.56 kB / 0.7878 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/0.4251, allocations: 19.72 kB / 0.7878 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.4253, allocations: 44.7 kB / 0.7878 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4253, allocations: 0 / 0.7878 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000262/0.4256, allocations: 103.5 kB / 0.7879 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.4256, allocations: 5.406 kB / 0.7879 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4256, allocations: 0 / 0.7879 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4256, allocations: 0.5625 kB / 0.7879 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.4257, allocations: 14 kB / 0.788 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.4257, allocations: 1.469 kB / 0.788 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.4258, allocations: 13.84 kB / 0.788 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.4258, allocations: 1.531 kB / 0.788 GB, free: 9.422 MB / 0.5606 GB 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.0001482/0.426, allocations: 173.1 kB / 0.7881 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.426, allocations: 27.73 kB / 0.7882 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.4263, allocations: 116.5 kB / 0.7883 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4263, allocations: 1.719 kB / 0.7883 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4264, allocations: 0 / 0.7883 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4264, allocations: 9.641 kB / 0.7883 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.4267, allocations: 257.2 kB / 0.7885 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4267, allocations: 1.812 kB / 0.7885 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/0.4267, allocations: 14.66 kB / 0.7886 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4268, allocations: 0 / 0.7886 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4268, allocations: 1.312 kB / 0.7886 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4268, allocations: 0.5625 kB / 0.7886 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4268, allocations: 0 / 0.7886 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.4271, allocations: 196.5 kB / 0.7887 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.845e-05/0.4272, allocations: 115.7 kB / 0.7888 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.4272, allocations: 1.984 kB / 0.7889 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4273, allocations: 5.156 kB / 0.7889 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.4274, allocations: 7.953 kB / 0.7889 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4274, allocations: 1.438 kB / 0.7889 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004956/0.4279, allocations: 389.9 kB / 0.7892 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4279, allocations: 0 / 0.7892 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002727/0.4282, allocations: 31.78 kB / 0.7893 GB, free: 8.523 MB / 0.5606 GB 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.001793/0.43, allocations: 0.9831 MB / 0.7902 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.4302, allocations: 43.98 kB / 0.7903 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4302, allocations: 4.438 kB / 0.7903 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.4303, allocations: 23.25 kB / 0.7903 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.4308, allocations: 47.06 kB / 0.7903 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.4339, allocations: 2.591 MB / 0.7929 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.4344, allocations: 0.768 MB / 0.7936 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.725e-05/0.4345, allocations: 39.81 kB / 0.7937 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.4346, allocations: 84.2 kB / 0.7937 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4346, allocations: 0 / 0.7937 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.4605, allocations: 5.045 MB / 0.7987 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.397, allocations: 3.5 kB / 0.7987 GB, free: 3.5 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)