Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.771/0.771, 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.001066/0.001067, allocations: 179.2 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.597/1.597, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.001042/0.001042, allocations: 96.02 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 274.1 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.978e-05, allocations: 7.938 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.491, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.835/5.326, allocations: 1.883 GB / 2.647 GB, free: 124.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/5.326, allocations: 90.77 kB / 2.647 GB, free: 124.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.921/7.247, allocations: 488.6 MB / 3.124 GB, free: 160.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.142e-06/7.247, allocations: 0 / 3.124 GB, free: 160.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.552e-05/7.247, allocations: 17.94 kB / 3.124 GB, free: 160.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00185/7.249, allocations: 0.9702 MB / 3.125 GB, free: 160.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/7.249, allocations: 7.625 kB / 3.125 GB, free: 160.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/7.25, allocations: 211.8 kB / 3.126 GB, free: 160.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/7.252, allocations: 0.6128 MB / 3.126 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/7.252, allocations: 38.47 kB / 3.126 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/7.252, allocations: 49.56 kB / 3.126 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000789/7.252, allocations: 461.3 kB / 3.127 GB, free: 159.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/7.253, allocations: 0 / 3.127 GB, free: 159.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/7.253, allocations: 19.09 kB / 3.127 GB, free: 159.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/7.253, allocations: 18.59 kB / 3.127 GB, free: 159.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/7.253, allocations: 375.4 kB / 3.127 GB, free: 159.8 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/7.256, allocations: 2.006 MB / 3.129 GB, free: 158.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/7.256, allocations: 320.5 kB / 3.129 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/7.256, allocations: 191 kB / 3.13 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/7.257, allocations: 190.4 kB / 3.13 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/7.257, allocations: 40.81 kB / 3.13 GB, free: 158.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/7.257, allocations: 3.062 kB / 3.13 GB, free: 158.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0007977/7.258, allocations: 385.1 kB / 3.13 GB, free: 158.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/7.258, allocations: 54.84 kB / 3.13 GB, free: 158.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/7.258, allocations: 442.9 kB / 3.131 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/7.258, allocations: 37.2 kB / 3.131 GB, free: 158.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/7.258, allocations: 301.8 kB / 3.131 GB, free: 158.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/7.258, allocations: 121.4 kB / 3.131 GB, free: 158.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/7.258, allocations: 7.5 kB / 3.131 GB, free: 158.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001072/7.258, allocations: 360.8 kB / 3.131 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/7.259, allocations: 114.1 kB / 3.132 GB, free: 157.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/7.259, allocations: 208.7 kB / 3.132 GB, free: 157.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/7.259, allocations: 144.8 kB / 3.132 GB, free: 157.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/7.259, allocations: 3.438 kB / 3.132 GB, free: 157.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005167/7.26, allocations: 398.1 kB / 3.132 GB, free: 157.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/7.26, allocations: 358.9 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/7.26, allocations: 0 / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/7.26, allocations: 7.516 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/7.26, allocations: 75.02 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/7.26, allocations: 0 / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/7.261, allocations: 64.61 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/7.261, allocations: 14.44 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/7.261, allocations: 3.656 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004319/7.261, allocations: 313.3 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/7.261, allocations: 3.156 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/7.261, allocations: 2.812 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/7.262, allocations: 74.16 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/7.262, allocations: 3.688 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/7.262, allocations: 62.56 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/7.262, allocations: 18.48 kB / 3.133 GB, free: 157.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 0.0001002/7.262, allocations: 134.2 kB / 3.133 GB, free: 157.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/7.262, allocations: 58.34 kB / 3.133 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/7.263, allocations: 386.1 kB / 3.134 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/7.263, allocations: 3.656 kB / 3.134 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/7.263, allocations: 0 / 3.134 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003969/7.263, allocations: 404.6 kB / 3.134 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/7.265, allocations: 1.133 MB / 3.135 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/7.265, allocations: 3.938 kB / 3.135 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/7.265, allocations: 81.45 kB / 3.135 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/7.265, allocations: 7.594 kB / 3.135 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/7.265, allocations: 10.41 kB / 3.135 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/7.265, allocations: 11.19 kB / 3.135 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/7.265, allocations: 3.953 kB / 3.135 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/7.266, allocations: 0.7463 MB / 3.136 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/7.266, allocations: 181.9 kB / 3.136 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/7.266, allocations: 5.031 kB / 3.136 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/7.267, allocations: 52.59 kB / 3.136 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/7.267, allocations: 26.44 kB / 3.136 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/7.267, allocations: 18.5 kB / 3.136 GB, free: 156.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003624/7.267, allocations: 353.5 kB / 3.137 GB, free: 156 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/7.267, allocations: 0 / 3.137 GB, free: 156 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0013/7.269, allocations: 445.1 kB / 3.137 GB, free: 156 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001707/7.27, allocations: 1.265 MB / 3.138 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007179/7.271, allocations: 494.7 kB / 3.139 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/7.271, allocations: 0 / 3.139 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/7.271, allocations: 161.2 kB / 3.139 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/7.273, allocations: 365.4 kB / 3.139 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/7.275, allocations: 0.9776 MB / 3.14 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/7.275, allocations: 0.9424 MB / 3.141 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007971/7.276, allocations: 245.6 kB / 3.141 GB, free: 154.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/7.276, allocations: 37.81 kB / 3.142 GB, free: 154.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.313e-06/7.276, allocations: 0 / 3.142 GB, free: 154.6 MB / 0.698 GB Notification: Performance of Templates: time 0.03916/7.315, allocations: 30.48 MB / 3.171 GB, free: 136.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & ./BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)