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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7325/0.7325, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 177.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008378/0.0008377, allocations: 95.91 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 280.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.619e-05, allocations: 0 / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3768, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.4885, allocations: 111.1 MB / 0.8728 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.4887, allocations: 79.95 kB / 0.8729 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01188/0.5006, allocations: 4.846 MB / 0.8776 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5007, allocations: 0 / 0.8776 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.5007, allocations: 4 kB / 0.8776 GB, free: 8.543 MB / 0.5417 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.0004883/0.5012, allocations: 0.4937 MB / 0.8781 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5012, allocations: 8.031 kB / 0.8781 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.5013, allocations: 34.56 kB / 0.8782 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.5013, allocations: 31.62 kB / 0.8782 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.5019, allocations: 371.8 kB / 0.8785 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.5019, allocations: 7.953 kB / 0.8786 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.5019, allocations: 0 / 0.8786 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.502, allocations: 61.62 kB / 0.8786 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.502, allocations: 0 / 0.8786 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.5021, allocations: 0 / 0.8786 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.5021, allocations: 8 kB / 0.8786 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.5021, allocations: 31.98 kB / 0.8786 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.5026, allocations: 436.5 kB / 0.8791 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.136e-05/0.5027, allocations: 38.56 kB / 0.8791 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.5028, allocations: 16.92 kB / 0.8791 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.5028, allocations: 4 kB / 0.8791 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.5028, allocations: 30.56 kB / 0.8791 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.5028, allocations: 0 / 0.8791 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.503, allocations: 85.42 kB / 0.8792 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.503, allocations: 51.41 kB / 0.8793 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.5035, allocations: 463.6 kB / 0.8797 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.5035, allocations: 29.64 kB / 0.8798 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.5037, allocations: 175.9 kB / 0.8799 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.5037, allocations: 7.906 kB / 0.8799 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.5037, allocations: 4 kB / 0.8799 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5038, allocations: 342.8 kB / 0.8803 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.5038, allocations: 4 kB / 0.8803 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.57e-05/0.5038, allocations: 8 kB / 0.8803 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/0.5039, allocations: 11.98 kB / 0.8803 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5039, allocations: 4 kB / 0.8803 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001032/0.504, allocations: 73.27 kB / 0.8804 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.504, allocations: 13.39 kB / 0.8804 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.504, allocations: 0 / 0.8804 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.504, allocations: 0 / 0.8804 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.5041, allocations: 12 kB / 0.8804 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5041, allocations: 0 / 0.8804 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.5042, allocations: 11.98 kB / 0.8804 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.5042, allocations: 0 / 0.8804 GB, free: 5.5 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.5043, allocations: 112.9 kB / 0.8805 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.5044, allocations: 31.62 kB / 0.8805 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.5045, allocations: 92.97 kB / 0.8806 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5045, allocations: 0 / 0.8806 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5045, allocations: 0 / 0.8806 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.5045, allocations: 0 / 0.8806 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.5048, allocations: 277.5 kB / 0.8809 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5048, allocations: 0 / 0.8809 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.5049, allocations: 11.98 kB / 0.8809 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5049, allocations: 11.94 kB / 0.8809 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.5049, allocations: 0 / 0.8809 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5049, allocations: 0 / 0.8809 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5049, allocations: 0 / 0.8809 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.5051, allocations: 179.1 kB / 0.8811 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.5052, allocations: 120.8 kB / 0.8812 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.5052, allocations: 4 kB / 0.8812 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.5053, allocations: 15.98 kB / 0.8812 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.5054, allocations: 0 / 0.8812 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.5054, allocations: 3.984 kB / 0.8812 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003672/0.5058, allocations: 374 kB / 0.8816 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5058, allocations: 0 / 0.8816 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002382/0.506, allocations: 39.89 kB / 0.8816 GB, free: 4.152 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009192/0.5069, allocations: 0.9249 MB / 0.8825 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.047e-05/0.507, allocations: 27.92 kB / 0.8825 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.507, allocations: 4 kB / 0.8825 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.5071, allocations: 8 kB / 0.8825 GB, free: 3.266 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.5073, allocations: 33.94 kB / 0.8826 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006946/0.508, allocations: 460.7 kB / 0.883 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.5083, allocations: 0.7714 MB / 0.8838 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.138e-05/0.5084, allocations: 48.88 kB / 0.8838 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5086, allocations: 87.41 kB / 0.8839 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.5086, allocations: 0 / 0.8839 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.5243, allocations: 5.059 MB / 0.8888 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.5246, allocations: 187.8 kB / 0.889 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.311, allocations: 0 / 0.889 GB, free: 12.72 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)