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.7795/0.7795, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009918/0.0009921, allocations: 180.9 kB / 182.2 MB, free: 9.441 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.37/1.37, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001072/0.001071, allocations: 99.86 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 280.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.43e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3846, allocations: 82.77 MB / 0.7574 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.5756, allocations: 110.4 MB / 0.8653 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.5759, allocations: 75.95 kB / 0.8653 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01887/0.5948, allocations: 4.791 MB / 0.87 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5949, allocations: 0 / 0.87 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.5949, allocations: 7.938 kB / 0.87 GB, free: 12.46 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.0007455/0.5957, allocations: 0.4938 MB / 0.8705 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.925e-05/0.5958, allocations: 8.031 kB / 0.8705 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.5958, allocations: 31.61 kB / 0.8706 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000739/0.5966, allocations: 371.8 kB / 0.8709 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5966, allocations: 3.953 kB / 0.8709 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.5966, allocations: 0 / 0.8709 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001145/0.5968, allocations: 31.98 kB / 0.8709 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.5969, allocations: 57.69 kB / 0.871 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.5969, allocations: 0 / 0.871 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.597, allocations: 0 / 0.871 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.597, allocations: 0 / 0.871 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.5976, allocations: 413.1 kB / 0.8714 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.5978, allocations: 34.58 kB / 0.8714 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.5978, allocations: 20.86 kB / 0.8714 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.5978, allocations: 0 / 0.8714 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.5979, allocations: 34.59 kB / 0.8715 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 2.665e-06/0.5979, allocations: 3.984 kB / 0.8715 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002355/0.5981, allocations: 77.41 kB / 0.8716 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.5982, allocations: 51.41 kB / 0.8716 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000741/0.5989, allocations: 450.3 kB / 0.872 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.599, allocations: 25.7 kB / 0.8721 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.5991, allocations: 175.9 kB / 0.8722 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.5992, allocations: 3.906 kB / 0.8722 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.5992, allocations: 0 / 0.8722 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5993, allocations: 346.7 kB / 0.8726 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.5994, allocations: 8 kB / 0.8726 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.5994, allocations: 8 kB / 0.8726 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.5994, allocations: 7.984 kB / 0.8726 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5995, allocations: 8 kB / 0.8726 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001662/0.5996, allocations: 81.25 kB / 0.8727 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5997, allocations: 5.25 kB / 0.8727 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5997, allocations: 3.828 kB / 0.8727 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.5997, allocations: 0 / 0.8727 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.5999, allocations: 12 kB / 0.8727 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5999, allocations: 3.984 kB / 0.8727 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.6, allocations: 4 kB / 0.8727 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.6, allocations: 8 kB / 0.8727 GB, free: 9.531 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.721e-05/0.6001, allocations: 104.9 kB / 0.8728 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001703/0.6003, allocations: 73.31 kB / 0.8729 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.6004, allocations: 23.72 kB / 0.8729 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.6006, allocations: 96.25 kB / 0.873 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.6006, allocations: 0 / 0.873 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6006, allocations: 0 / 0.873 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6007, allocations: 4 kB / 0.873 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.601, allocations: 254 kB / 0.8732 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.601, allocations: 4 kB / 0.8732 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.6011, allocations: 15.98 kB / 0.8733 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.6012, allocations: 0 / 0.8733 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.6012, allocations: 3.938 kB / 0.8733 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6012, allocations: 0 / 0.8733 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6012, allocations: 0 / 0.8733 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.6014, allocations: 175.1 kB / 0.8734 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.6016, allocations: 136.7 kB / 0.8736 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.6016, allocations: 0 / 0.8736 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.6018, allocations: 11.98 kB / 0.8736 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.6019, allocations: 0 / 0.8736 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.6019, allocations: 0 / 0.8736 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005294/0.6024, allocations: 360.5 kB / 0.8739 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6024, allocations: 0 / 0.8739 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004621/0.6029, allocations: 31.91 kB / 0.8739 GB, free: 8.172 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.001357/0.6043, allocations: 0.9064 MB / 0.8748 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.6044, allocations: 15.94 kB / 0.8748 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6044, allocations: 4 kB / 0.8748 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.6044, allocations: 8 kB / 0.8748 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.6049, allocations: 39.75 kB / 0.8749 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.606, allocations: 447.9 kB / 0.8753 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.6065, allocations: 0.7828 MB / 0.8761 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.6066, allocations: 39.31 kB / 0.8761 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.6068, allocations: 87.39 kB / 0.8762 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of SimCode: time 2.294e-06/0.6068, allocations: 0 / 0.8762 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.6324, allocations: 4.459 MB / 0.8806 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.6326, allocations: 172.8 kB / 0.8807 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.521, allocations: 7.969 kB / 0.8807 GB, free: 1.203 MB / 0.5417 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)