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: translateModel(BuildingSystems.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table") translateModel(BuildingSystems.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005971/0.005971, allocations: 100.9 kB / 15.73 MB, free: 5.586 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.001357/0.001357, allocations: 189.4 kB / 16.67 MB, free: 5.523 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.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 282.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 91.84 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3811, allocations: 86.97 MB / 0.7663 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002537/0.3837, allocations: 1.649 MB / 0.768 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008341/0.3845, allocations: 0.5202 MB / 0.7685 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.3846, allocations: 0 / 0.7685 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.3851, allocations: 178.4 kB / 0.7686 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.3854, allocations: 161.7 kB / 0.7688 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.3858, allocations: 195.8 kB / 0.769 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.3861, allocations: 203.5 kB / 0.7692 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3862, allocations: 33.2 kB / 0.7692 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3863, allocations: 79.73 kB / 0.7693 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.3865, allocations: 167.5 kB / 0.7694 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.3865, allocations: 12 kB / 0.7695 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.3866, allocations: 35.98 kB / 0.7695 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.3867, allocations: 75.8 kB / 0.7696 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.3868, allocations: 95.28 kB / 0.7696 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.3871, allocations: 269.6 kB / 0.7699 GB, free: 316 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3871, allocations: 0 / 0.7699 GB, free: 316 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3871, allocations: 0 / 0.7699 GB, free: 316 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.3871, allocations: 0 / 0.7699 GB, free: 316 kB / 0.5294 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.0007101/0.3878, allocations: 0.5836 MB / 0.7705 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3878, allocations: 8.031 kB / 0.7705 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.3879, allocations: 36.55 kB / 0.7705 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.3883, allocations: 370.3 kB / 0.7709 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3884, allocations: 4.375 kB / 0.7709 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3884, allocations: 384 / 0.7709 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3886, allocations: 81.72 kB / 0.771 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3886, allocations: 0 / 0.771 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.3886, allocations: 4 kB / 0.771 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3886, allocations: 0 / 0.771 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.3888, allocations: 51.95 kB / 0.771 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.3893, allocations: 424.5 kB / 0.7714 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3895, allocations: 54.55 kB / 0.7715 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.403e-05/0.3896, allocations: 32.84 kB / 0.7715 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3896, allocations: 3.984 kB / 0.7715 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.3896, allocations: 34.59 kB / 0.7715 GB, free: 14.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3896, allocations: 4 kB / 0.7715 GB, free: 14.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003832/0.39, allocations: 117.2 kB / 0.7716 GB, free: 14.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.3901, allocations: 51.41 kB / 0.7717 GB, free: 14.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.3906, allocations: 0.5094 MB / 0.7722 GB, free: 13.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3906, allocations: 25.7 kB / 0.7722 GB, free: 13.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3907, allocations: 176 kB / 0.7724 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.3908, allocations: 7.812 kB / 0.7724 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.3908, allocations: 17.72 kB / 0.7724 GB, free: 13.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3909, allocations: 346.7 kB / 0.7727 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.391, allocations: 19.98 kB / 0.7728 GB, free: 13.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.3911, allocations: 15.98 kB / 0.7728 GB, free: 13.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.3913, allocations: 52.75 kB / 0.7728 GB, free: 13.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3913, allocations: 0 / 0.7728 GB, free: 13.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002311/0.3915, allocations: 93.38 kB / 0.7729 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3915, allocations: 12 kB / 0.7729 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3915, allocations: 0 / 0.7729 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.3916, allocations: 0 / 0.7729 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.3916, allocations: 11.98 kB / 0.7729 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3917, allocations: 0 / 0.7729 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.3917, allocations: 11.84 kB / 0.7729 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3917, allocations: 3.984 kB / 0.773 GB, free: 12.96 MB / 0.545 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.0001301/0.3919, allocations: 165.8 kB / 0.7731 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.3919, allocations: 27.66 kB / 0.7731 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3922, allocations: 120 kB / 0.7733 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3922, allocations: 0 / 0.7733 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3922, allocations: 0 / 0.7733 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3922, allocations: 3.938 kB / 0.7733 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.3925, allocations: 265.5 kB / 0.7735 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3925, allocations: 0 / 0.7735 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.3926, allocations: 11.98 kB / 0.7735 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3926, allocations: 4 kB / 0.7735 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.3926, allocations: 4 kB / 0.7735 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3926, allocations: 0 / 0.7735 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3926, allocations: 0 / 0.7735 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3929, allocations: 195.1 kB / 0.7737 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.3929, allocations: 112.7 kB / 0.7738 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.393, allocations: 0 / 0.7738 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3931, allocations: 15.98 kB / 0.7738 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.3931, allocations: 0 / 0.7738 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3931, allocations: 11.88 kB / 0.7738 GB, free: 11.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000397/0.3935, allocations: 383.1 kB / 0.7742 GB, free: 11.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3936, allocations: 3.938 kB / 0.7742 GB, free: 11.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002527/0.3938, allocations: 20 kB / 0.7742 GB, free: 11.54 MB / 0.545 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.0007237/0.3945, allocations: 364.2 kB / 0.7746 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.3948, allocations: 47.89 kB / 0.7746 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3948, allocations: 0 / 0.7746 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.141e-05/0.3949, allocations: 23.98 kB / 0.7747 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.3953, allocations: 43.16 kB / 0.7747 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006225/0.3959, allocations: 464.7 kB / 0.7751 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.3962, allocations: 0.771 MB / 0.7759 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.549e-05/0.3963, allocations: 41.92 kB / 0.7759 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.3964, allocations: 19.44 kB / 0.7759 GB, free: 9.863 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3964, allocations: 0 / 0.7759 GB, free: 9.863 MB / 0.545 GB Notification: Performance of Templates: time 0.005026/0.4014, allocations: 2.297 MB / 0.7782 GB, free: 7.586 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)