Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay") translateModel(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.882/0.882, allocations: 128.7 MB / 143.7 MB, free: 2.316 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 186.5 kB / 173.8 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 97.38 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 8.094 kB / 0.5603 GB, free: 97.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2043, allocations: 76.77 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.878/7.083, allocations: 2.154 GB / 2.789 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004768/7.083, allocations: 98.36 kB / 2.789 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.255/9.339, allocations: 481.2 MB / 3.259 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.482e-06/9.339, allocations: 3.625 kB / 3.259 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.974e-05/9.339, allocations: 24.64 kB / 3.259 GB, free: 129.7 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002353/9.341, allocations: 1.078 MB / 3.26 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/9.341, allocations: 11.31 kB / 3.26 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/9.343, allocations: 202 kB / 3.26 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/9.344, allocations: 0.6566 MB / 3.261 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/9.344, allocations: 34.5 kB / 3.261 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.936e-05/9.344, allocations: 49.09 kB / 3.261 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/9.346, allocations: 0.5787 MB / 3.262 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/9.346, allocations: 0 / 3.262 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/9.346, allocations: 26.83 kB / 3.262 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/9.346, allocations: 14.91 kB / 3.262 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/9.347, allocations: 0.5252 MB / 3.262 GB, free: 128.8 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002578/9.35, allocations: 1.993 MB / 3.264 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/9.351, allocations: 451.2 kB / 3.265 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/9.351, allocations: 196.7 kB / 3.265 GB, free: 127.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/9.351, allocations: 40.34 kB / 3.265 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/9.351, allocations: 0 / 3.265 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.002344/9.353, allocations: 0.7312 MB / 3.266 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/9.354, allocations: 55.38 kB / 3.266 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/9.354, allocations: 442 kB / 3.266 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/9.354, allocations: 37.23 kB / 3.266 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/9.354, allocations: 313.1 kB / 3.266 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/9.354, allocations: 120.5 kB / 3.266 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/9.354, allocations: 3.312 kB / 3.266 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001182/9.355, allocations: 363.2 kB / 3.267 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/9.355, allocations: 174 kB / 3.267 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/9.355, allocations: 262.5 kB / 3.267 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/9.356, allocations: 209.6 kB / 3.267 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/9.356, allocations: 0 / 3.267 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009334/9.357, allocations: 486.7 kB / 3.268 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/9.357, allocations: 366.8 kB / 3.268 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/9.357, allocations: 0 / 3.268 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/9.357, allocations: 3.906 kB / 3.268 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/9.357, allocations: 96.56 kB / 3.268 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/9.358, allocations: 3.469 kB / 3.268 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/9.358, allocations: 79.94 kB / 3.268 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/9.358, allocations: 19.33 kB / 3.268 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/9.358, allocations: 3.688 kB / 3.268 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005808/9.359, allocations: 351.4 kB / 3.269 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/9.359, allocations: 0 / 3.269 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/9.359, allocations: 6.625 kB / 3.269 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/9.359, allocations: 79.42 kB / 3.269 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/9.359, allocations: 0 / 3.269 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/9.36, allocations: 70.75 kB / 3.269 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/9.36, allocations: 11.47 kB / 3.269 GB, free: 126.3 MB / 0.6511 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 () * Number of clocked 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.0003576/9.36, allocations: 289.5 kB / 3.269 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/9.36, allocations: 57.84 kB / 3.269 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/9.36, allocations: 63.58 kB / 3.269 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/9.36, allocations: 7.328 kB / 3.269 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/9.36, allocations: 7.625 kB / 3.269 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008789/9.361, allocations: 0.495 MB / 3.27 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/9.363, allocations: 1.251 MB / 3.271 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/9.363, allocations: 3.781 kB / 3.271 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/9.364, allocations: 105 kB / 3.271 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/9.364, allocations: 3.969 kB / 3.271 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/9.364, allocations: 21.78 kB / 3.271 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/9.364, allocations: 0 / 3.271 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/9.364, allocations: 5.625 kB / 3.271 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/9.366, allocations: 0.9046 MB / 3.272 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/9.366, allocations: 178.8 kB / 3.272 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/9.366, allocations: 6.219 kB / 3.272 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005996/9.366, allocations: 68.05 kB / 3.272 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/9.367, allocations: 29.14 kB / 3.272 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/9.367, allocations: 10.16 kB / 3.272 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004137/9.367, allocations: 353.5 kB / 3.273 GB, free: 125 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/9.367, allocations: 0 / 3.273 GB, free: 125 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00154/9.369, allocations: 443.2 kB / 3.273 GB, free: 125 MB / 0.6511 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 () * Number of clocked 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.002131/9.371, allocations: 1.273 MB / 3.274 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00132/9.372, allocations: 0.5757 MB / 3.275 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/9.372, allocations: 3.625 kB / 3.275 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004468/9.373, allocations: 226.5 kB / 3.275 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/9.374, allocations: 360.7 kB / 3.275 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/9.377, allocations: 1.569 MB / 3.277 GB, free: 124 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/9.377, allocations: 0.9436 MB / 3.278 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007238/9.378, allocations: 173.9 kB / 3.278 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/9.378, allocations: 55.03 kB / 3.278 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/9.378, allocations: 0 / 3.278 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.04169/9.42, allocations: 26.55 MB / 3.304 GB, free: 122.2 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)