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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009664/0.0009664, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009679/0.0009679, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.034/1.034, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 83.42 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.4473/0.6374, allocations: 152.6 MB / 0.7463 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008883/0.6464, allocations: 4.788 MB / 0.751 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.6476, allocations: 27.81 kB / 0.751 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.6492, allocations: 448.1 kB / 0.7514 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005461/0.6546, allocations: 1.394 MB / 0.7528 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.6577, allocations: 0.8691 MB / 0.7536 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.6602, allocations: 1.081 MB / 0.7547 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007731/0.6609, allocations: 455.8 kB / 0.7551 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.6623, allocations: 0.5956 MB / 0.7557 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000501/0.6628, allocations: 354.5 kB / 0.756 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.6629, allocations: 24 kB / 0.7561 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.6647, allocations: 0.6902 MB / 0.7567 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.6649, allocations: 211.4 kB / 0.7569 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.6651, allocations: 173.3 kB / 0.7571 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.6663, allocations: 0.9132 MB / 0.758 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6663, allocations: 0 / 0.758 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.043e-06/0.6663, allocations: 0 / 0.758 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.6663, allocations: 0 / 0.758 GB, free: 7.516 MB / 0.5762 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.001603/0.6679, allocations: 0.9537 MB / 0.7589 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.668, allocations: 8.031 kB / 0.7589 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.6693, allocations: 210.9 kB / 0.7591 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009125/0.6702, allocations: 0.558 MB / 0.7597 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.6702, allocations: 37 kB / 0.7597 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.6703, allocations: 51.95 kB / 0.7598 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008787/0.6712, allocations: 494.3 kB / 0.7602 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.6712, allocations: 0.5 kB / 0.7602 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.6713, allocations: 24 kB / 0.7603 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.6713, allocations: 20.94 kB / 0.7603 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007997/0.6721, allocations: 439.7 kB / 0.7607 GB, free: 4.652 MB / 0.5762 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.00271/0.6749, allocations: 2.013 MB / 0.7627 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.6755, allocations: 359.5 kB / 0.763 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.229e-05/0.6756, allocations: 12.27 kB / 0.763 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.6756, allocations: 39.59 kB / 0.7631 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/0.6756, allocations: 0 / 0.7631 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001242/0.6769, allocations: 0.5615 MB / 0.7636 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.6769, allocations: 63.36 kB / 0.7637 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.6775, allocations: 0.4991 MB / 0.7642 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.6776, allocations: 37.7 kB / 0.7642 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.6778, allocations: 300.2 kB / 0.7645 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.6779, allocations: 122.3 kB / 0.7646 GB, free: 444 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.6779, allocations: 4 kB / 0.7646 GB, free: 440 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6781, allocations: 362.8 kB / 0.7649 GB, free: 68 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.6784, allocations: 144.6 kB / 0.7651 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.6787, allocations: 208.7 kB / 0.7653 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.679, allocations: 169.7 kB / 0.7654 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.679, allocations: 0 / 0.7654 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007464/0.6798, allocations: 437.6 kB / 0.7659 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.6799, allocations: 368 kB / 0.7662 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.68, allocations: 0 / 0.7662 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.68, allocations: 4 kB / 0.7662 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.6803, allocations: 71.91 kB / 0.7663 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.6804, allocations: 7.938 kB / 0.7663 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.6809, allocations: 64.27 kB / 0.7664 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.681, allocations: 19.98 kB / 0.7664 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.681, allocations: 5.406 kB / 0.7664 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006232/0.6816, allocations: 351.6 kB / 0.7667 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.6816, allocations: 0 / 0.7667 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.032e-06/0.6816, allocations: 7.953 kB / 0.7667 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.682, allocations: 74.25 kB / 0.7668 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.682, allocations: 4 kB / 0.7668 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.6825, allocations: 71.58 kB / 0.7669 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.6825, allocations: 12 kB / 0.7669 GB, free: 14.04 MB / 0.5919 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.0002942/0.6828, allocations: 293.5 kB / 0.7672 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.849e-05/0.6829, allocations: 59.25 kB / 0.7672 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007948/0.6837, allocations: 431 kB / 0.7676 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.6837, allocations: 7.984 kB / 0.7676 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6837, allocations: 0 / 0.7676 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006217/0.6844, allocations: 441.7 kB / 0.768 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.6862, allocations: 1.183 MB / 0.7692 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6862, allocations: 0 / 0.7692 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.6867, allocations: 83.89 kB / 0.7693 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.6867, allocations: 4 kB / 0.7693 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.6867, allocations: 15.98 kB / 0.7693 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6867, allocations: 4.188 kB / 0.7693 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6867, allocations: 4 kB / 0.7693 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.6878, allocations: 0.802 MB / 0.7701 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.6881, allocations: 172.4 kB / 0.7703 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.6882, allocations: 16.61 kB / 0.7703 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/0.6887, allocations: 51.8 kB / 0.7703 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.6888, allocations: 27.91 kB / 0.7704 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.6889, allocations: 12 kB / 0.7704 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003948/0.6893, allocations: 362.8 kB / 0.7707 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6893, allocations: 4 kB / 0.7707 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008358/0.6901, allocations: 323.2 kB / 0.771 GB, free: 9.582 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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.0004116/0.6905, allocations: 190 kB / 0.7712 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009601/0.6915, allocations: 0.5278 MB / 0.7717 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6915, allocations: 4 kB / 0.7717 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.6918, allocations: 188.4 kB / 0.7719 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.6935, allocations: 357.7 kB / 0.7722 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.6956, allocations: 1.563 MB / 0.7738 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.6962, allocations: 0.9412 MB / 0.7747 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006712/0.6969, allocations: 188.5 kB / 0.7749 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.697, allocations: 47.42 kB / 0.7749 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.697, allocations: 0 / 0.7749 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of Templates: time 0.01947/0.7165, allocations: 10.97 MB / 0.7856 GB, free: 10.79 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: