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.001222/0.001222, allocations: 107.8 kB / 16.41 MB, free: 6.508 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.001124/0.001124, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.516/1.516, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002571/0.002571, allocations: 298.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 91.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5854, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.003973/0.5894, allocations: 1.651 MB / 0.7686 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.5906, allocations: 0.5203 MB / 0.7691 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.5908, allocations: 7.938 kB / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006534/0.5915, allocations: 172.6 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.5921, allocations: 169.9 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.5926, allocations: 184.4 kB / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000443/0.5931, allocations: 203.5 kB / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.5932, allocations: 37.22 kB / 0.7699 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.5934, allocations: 79.72 kB / 0.7699 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.5937, allocations: 155.5 kB / 0.7701 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/0.5938, allocations: 19.98 kB / 0.7701 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.594, allocations: 36 kB / 0.7701 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.5941, allocations: 79.73 kB / 0.7702 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.5942, allocations: 91.3 kB / 0.7703 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.5947, allocations: 265.5 kB / 0.7706 GB, free: 312 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.5948, allocations: 4 kB / 0.7706 GB, free: 308 kB / 0.5294 GB Notification: Performance of FrontEnd: time 3.827e-06/0.5948, allocations: 4 kB / 0.7706 GB, free: 304 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.5948, allocations: 0 / 0.7706 GB, free: 304 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.00125/0.596, allocations: 0.5836 MB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.5961, allocations: 12.03 kB / 0.7712 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.5962, allocations: 28.56 kB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.5969, allocations: 370.2 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5969, allocations: 4.359 kB / 0.7715 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.597, allocations: 8.375 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.5973, allocations: 73.8 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5973, allocations: 3.984 kB / 0.7716 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.5973, allocations: 4 kB / 0.7716 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5973, allocations: 0 / 0.7716 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.5976, allocations: 55.88 kB / 0.7717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007327/0.5983, allocations: 424.6 kB / 0.7721 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.5985, allocations: 58.58 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.5986, allocations: 24.91 kB / 0.7722 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.5987, allocations: 0 / 0.7722 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.5987, allocations: 30.56 kB / 0.7722 GB, free: 14.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.5987, allocations: 0 / 0.7722 GB, free: 14.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004509/0.5992, allocations: 121.3 kB / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.5992, allocations: 55.39 kB / 0.7724 GB, free: 14.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/0.5999, allocations: 0.5132 MB / 0.7729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5999, allocations: 29.64 kB / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.6001, allocations: 160 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.6001, allocations: 19.8 kB / 0.7731 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.6002, allocations: 13.72 kB / 0.7731 GB, free: 13.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.6004, allocations: 346.8 kB / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/0.6005, allocations: 15.98 kB / 0.7734 GB, free: 13.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.6006, allocations: 23.97 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.6008, allocations: 36.83 kB / 0.7735 GB, free: 13.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6008, allocations: 4 kB / 0.7735 GB, free: 13.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002785/0.6011, allocations: 101.3 kB / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.6011, allocations: 6.344 kB / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6011, allocations: 0 / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6011, allocations: 0 / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.6012, allocations: 19.92 kB / 0.7736 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.6012, allocations: 0 / 0.7736 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.6013, allocations: 15.83 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.6014, allocations: 8 kB / 0.7736 GB, free: 12.95 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.0001685/0.6015, allocations: 169.8 kB / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.6016, allocations: 23.72 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.6019, allocations: 108 kB / 0.7739 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.6019, allocations: 4 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.6019, allocations: 0 / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6019, allocations: 3.938 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.6023, allocations: 265.9 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6023, allocations: 4 kB / 0.7742 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/0.6024, allocations: 15.92 kB / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6024, allocations: 0 / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.6024, allocations: 0 / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6024, allocations: 0 / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6024, allocations: 4 kB / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.6027, allocations: 199.1 kB / 0.7744 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.6028, allocations: 108.7 kB / 0.7745 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.6029, allocations: 7.984 kB / 0.7745 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.603, allocations: 4 kB / 0.7745 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.6031, allocations: 0 / 0.7745 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.6031, allocations: 7.922 kB / 0.7745 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004663/0.6035, allocations: 387.1 kB / 0.7749 GB, free: 11.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6035, allocations: 0 / 0.7749 GB, free: 11.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002793/0.6038, allocations: 20 kB / 0.7749 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.0009902/0.6048, allocations: 364 kB / 0.7752 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.6051, allocations: 43.91 kB / 0.7753 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6051, allocations: 0 / 0.7753 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.6052, allocations: 23.97 kB / 0.7753 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.0004869/0.6057, allocations: 46.95 kB / 0.7754 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.6066, allocations: 0.4945 MB / 0.7758 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.607, allocations: 0.7749 MB / 0.7766 GB, free: 9.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.6071, allocations: 27.42 kB / 0.7766 GB, free: 9.844 MB / 0.545 GB Notification: Performance of SimCode: time 2.044e-06/0.6071, allocations: 0 / 0.7766 GB, free: 9.844 MB / 0.545 GB Notification: Performance of Templates: time 0.006793/0.6139, allocations: 3.203 MB / 0.7797 GB, free: 6.652 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)