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: 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/BuildingSystems 2.0.0-master/package.mo): time 0.7915/0.7915, allocations: 143.4 MB / 159.2 MB, free: 4.875 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.001234/0.001234, allocations: 189.6 kB / 191.9 MB, free: 5.746 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.408/1.408, allocations: 222.9 MB / 447.3 MB, free: 5.875 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.001009/0.001009, allocations: 103.8 kB / 0.517 GB, free: 3.746 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001864/0.001864, allocations: 279.7 kB / 0.5973 GB, free: 49.4 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 79.88 kB / 0.6885 GB, free: 3.875 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2865, allocations: 81.3 MB / 0.7679 GB, free: 27.7 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002442/0.289, allocations: 1.703 MB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006833/0.2897, allocations: 0.5135 MB / 0.7701 GB, free: 25.47 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.2897, allocations: 3.938 kB / 0.7701 GB, free: 25.46 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.2901, allocations: 175 kB / 0.7702 GB, free: 25.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.2904, allocations: 151.6 kB / 0.7704 GB, free: 25.15 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.2907, allocations: 175.1 kB / 0.7706 GB, free: 24.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.2909, allocations: 195.4 kB / 0.7707 GB, free: 24.79 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.291, allocations: 37.53 kB / 0.7708 GB, free: 24.76 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.2911, allocations: 75.67 kB / 0.7709 GB, free: 24.68 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.2913, allocations: 147.6 kB / 0.771 GB, free: 24.54 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.2913, allocations: 4 kB / 0.771 GB, free: 24.54 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.2914, allocations: 35.98 kB / 0.771 GB, free: 24.5 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.137e-05/0.2915, allocations: 75.73 kB / 0.7711 GB, free: 24.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.414e-05/0.2916, allocations: 95.22 kB / 0.7712 GB, free: 24.33 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.2918, allocations: 251.1 kB / 0.7714 GB, free: 24.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2918, allocations: 4 kB / 0.7714 GB, free: 24.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2918, allocations: 0 / 0.7714 GB, free: 24.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2918, allocations: 0 / 0.7714 GB, free: 24.08 MB / 458.7 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.0006773/0.2925, allocations: 0.5759 MB / 0.772 GB, free: 23.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2926, allocations: 16.02 kB / 0.772 GB, free: 23.44 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.2926, allocations: 32.56 kB / 0.772 GB, free: 23.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.293, allocations: 378.2 kB / 0.7724 GB, free: 23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.293, allocations: 384 / 0.7724 GB, free: 23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.2931, allocations: 8.375 kB / 0.7724 GB, free: 23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.2932, allocations: 73.78 kB / 0.7725 GB, free: 22.92 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2933, allocations: 0 / 0.7725 GB, free: 22.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2933, allocations: 0 / 0.7725 GB, free: 22.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2933, allocations: 4 kB / 0.7725 GB, free: 22.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.2935, allocations: 55.89 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.2939, allocations: 428.6 kB / 0.7729 GB, free: 22.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.294, allocations: 50.66 kB / 0.773 GB, free: 22.33 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.2941, allocations: 20.83 kB / 0.773 GB, free: 22.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2941, allocations: 11.94 kB / 0.773 GB, free: 22.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.2942, allocations: 34.56 kB / 0.7731 GB, free: 22.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2942, allocations: 0 / 0.7731 GB, free: 22.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.000332/0.2945, allocations: 109.4 kB / 0.7732 GB, free: 22.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.2945, allocations: 51.41 kB / 0.7732 GB, free: 22.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.2949, allocations: 0.5132 MB / 0.7737 GB, free: 21.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.295, allocations: 29.64 kB / 0.7737 GB, free: 21.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.295, allocations: 172 kB / 0.7739 GB, free: 21.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.2951, allocations: 7.812 kB / 0.7739 GB, free: 21.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.2951, allocations: 17.72 kB / 0.7739 GB, free: 21.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.877e-05/0.2951, allocations: 354.7 kB / 0.7743 GB, free: 20.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.2952, allocations: 11.98 kB / 0.7743 GB, free: 20.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.2953, allocations: 19.98 kB / 0.7743 GB, free: 20.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.2954, allocations: 48.81 kB / 0.7743 GB, free: 20.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2955, allocations: 0 / 0.7743 GB, free: 20.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001912/0.2957, allocations: 97.38 kB / 0.7744 GB, free: 20.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2957, allocations: 4 kB / 0.7744 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2957, allocations: 0 / 0.7744 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2957, allocations: 0 / 0.7744 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.2958, allocations: 15.92 kB / 0.7745 GB, free: 20.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2958, allocations: 4 kB / 0.7745 GB, free: 20.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.2959, allocations: 11.92 kB / 0.7745 GB, free: 20.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.2959, allocations: 4 kB / 0.7745 GB, free: 20.74 MB / 458.7 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 8.686e-05/0.296, allocations: 165.8 kB / 0.7746 GB, free: 20.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.296, allocations: 27.95 kB / 0.7747 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.2963, allocations: 112 kB / 0.7748 GB, free: 20.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2963, allocations: 4 kB / 0.7748 GB, free: 20.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2963, allocations: 4 kB / 0.7748 GB, free: 20.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2963, allocations: 3.938 kB / 0.7748 GB, free: 20.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2965, allocations: 261.5 kB / 0.775 GB, free: 20.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2965, allocations: 0 / 0.775 GB, free: 20.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.2965, allocations: 15.92 kB / 0.775 GB, free: 20.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2965, allocations: 0 / 0.775 GB, free: 20.08 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2966, allocations: 0 / 0.775 GB, free: 20.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2966, allocations: 0 / 0.775 GB, free: 20.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2966, allocations: 7.938 kB / 0.7751 GB, free: 20.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.297, allocations: 0.8169 MB / 0.7759 GB, free: 19.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.2971, allocations: 112.8 kB / 0.776 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.2971, allocations: 3.938 kB / 0.776 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.2972, allocations: 7.984 kB / 0.776 GB, free: 19.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.2973, allocations: 4 kB / 0.776 GB, free: 19.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2973, allocations: 4 kB / 0.776 GB, free: 19.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002634/0.2975, allocations: 383.1 kB / 0.7763 GB, free: 18.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2975, allocations: 0 / 0.7763 GB, free: 18.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.2979, allocations: 27.91 kB / 0.7764 GB, free: 18.66 MB / 458.7 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.0006492/0.2985, allocations: 349.9 kB / 0.7767 GB, free: 18.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.2988, allocations: 39.95 kB / 0.7767 GB, free: 18.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2988, allocations: 0 / 0.7767 GB, free: 18.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.2989, allocations: 31.86 kB / 0.7768 GB, free: 18.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.2993, allocations: 46.41 kB / 0.7768 GB, free: 18.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.2998, allocations: 0.6221 MB / 0.7774 GB, free: 17.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.3, allocations: 0.7791 MB / 0.7782 GB, free: 16.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.171e-05/0.3001, allocations: 42.11 kB / 0.7782 GB, free: 16.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.3001, allocations: 15.44 kB / 0.7782 GB, free: 16.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3001, allocations: 4 kB / 0.7782 GB, free: 16.8 MB / 458.7 MB Notification: Performance of Templates: time 0.004039/0.3042, allocations: 2.219 MB / 0.7804 GB, free: 14.59 MB / 458.7 MB 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)