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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 108.6 kB / 16.41 MB, free: 6.016 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.002132/0.002132, allocations: 188.3 kB / 17.34 MB, free: 5.629 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 287.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5062, allocations: 86.97 MB / 0.767 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.2182/0.7245, allocations: 183.7 MB / 0.9465 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008522/0.733, allocations: 4.873 MB / 0.9512 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.734, allocations: 31.81 kB / 0.9512 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.7352, allocations: 457.3 kB / 0.9517 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003466/0.7387, allocations: 1.459 MB / 0.9531 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.7407, allocations: 0.7805 MB / 0.9539 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002372/0.7431, allocations: 1.859 MB / 0.9557 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007294/0.7438, allocations: 0.496 MB / 0.9562 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.7455, allocations: 0.9105 MB / 0.9571 GB, free: 420 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4444/1.19, allocations: 0.5327 MB / 0.9576 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003141/1.19, allocations: 58.09 kB / 0.9576 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/1.194, allocations: 1.42 MB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000451/1.194, allocations: 274.2 kB / 0.9593 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000795/1.195, allocations: 399.4 kB / 0.9597 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003095/1.198, allocations: 1.427 MB / 0.9611 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.198, allocations: 2.672 kB / 0.9611 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/1.198, allocations: 1.094 kB / 0.9611 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.493e-05/1.198, allocations: 0.7188 kB / 0.9611 GB, free: 4.086 MB / 0.7169 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.001868/1.2, allocations: 1.128 MB / 0.9622 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/1.2, allocations: 10.19 kB / 0.9622 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/1.201, allocations: 216.4 kB / 0.9624 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/1.203, allocations: 0.6178 MB / 0.963 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/1.203, allocations: 36.09 kB / 0.963 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/1.203, allocations: 50.03 kB / 0.9631 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009848/1.204, allocations: 0.4905 MB / 0.9635 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/1.204, allocations: 0 / 0.9635 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/1.204, allocations: 21.72 kB / 0.9636 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/1.204, allocations: 16.67 kB / 0.9636 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008032/1.205, allocations: 436.3 kB / 0.964 GB, free: 19.04 MB / 0.7325 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.002879/1.207, allocations: 2.013 MB / 0.966 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/1.208, allocations: 328.8 kB / 0.9663 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/1.208, allocations: 197.9 kB / 0.9665 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/1.209, allocations: 195.5 kB / 0.9667 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/1.209, allocations: 41.3 kB / 0.9667 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/1.209, allocations: 0.9062 kB / 0.9667 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001275/1.21, allocations: 0.5429 MB / 0.9672 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.21, allocations: 55.69 kB / 0.9673 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/1.211, allocations: 0.5093 MB / 0.9678 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/1.211, allocations: 36.02 kB / 0.9678 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/1.211, allocations: 302.2 kB / 0.9681 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/1.211, allocations: 130.1 kB / 0.9682 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/1.211, allocations: 71.58 kB / 0.9683 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.211, allocations: 369 kB / 0.9686 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/1.212, allocations: 141.5 kB / 0.9688 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/1.212, allocations: 209 kB / 0.969 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/1.213, allocations: 337.4 kB / 0.9693 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.213, allocations: 0 / 0.9693 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007311/1.213, allocations: 430.6 kB / 0.9697 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.213, allocations: 9.125 kB / 0.9697 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.213, allocations: 6.281 kB / 0.9697 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.213, allocations: 1.438 kB / 0.9697 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/1.214, allocations: 74.67 kB / 0.9698 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.214, allocations: 1.5 kB / 0.9698 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/1.214, allocations: 39.08 kB / 0.9698 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/1.214, allocations: 10.08 kB / 0.9698 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000442/1.215, allocations: 315 kB / 0.9701 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002691/1.215, allocations: 208.8 kB / 0.9703 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004718/1.215, allocations: 334.3 kB / 0.9707 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/1.215, allocations: 0.875 kB / 0.9707 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000632/1.216, allocations: 427.2 kB / 0.9711 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/1.216, allocations: 6.469 kB / 0.9711 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/1.216, allocations: 0 / 0.9711 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-06/1.216, allocations: 8.688 kB / 0.9711 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/1.216, allocations: 70.98 kB / 0.9711 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/1.216, allocations: 6.188 kB / 0.9712 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/1.217, allocations: 36.14 kB / 0.9712 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/1.217, allocations: 15.56 kB / 0.9712 GB, free: 16.5 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/1.217, allocations: 200.6 kB / 0.9714 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/1.217, allocations: 59.44 kB / 0.9715 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/1.218, allocations: 425.7 kB / 0.9719 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.218, allocations: 5.641 kB / 0.9719 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.218, allocations: 2.5 kB / 0.9719 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000573/1.218, allocations: 438.7 kB / 0.9723 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/1.22, allocations: 1.172 MB / 0.9734 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.22, allocations: 4.156 kB / 0.9734 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/1.221, allocations: 86.56 kB / 0.9735 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/1.221, allocations: 4.125 kB / 0.9735 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/1.221, allocations: 12.56 kB / 0.9735 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.221, allocations: 4.812 kB / 0.9735 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.221, allocations: 3.625 kB / 0.9735 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/1.221, allocations: 0.7007 MB / 0.9742 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/1.222, allocations: 184.3 kB / 0.9744 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/1.222, allocations: 9.094 kB / 0.9744 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/1.222, allocations: 29.91 kB / 0.9744 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.743e-05/1.222, allocations: 28.72 kB / 0.9745 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/1.222, allocations: 16 kB / 0.9745 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003703/1.223, allocations: 361.5 kB / 0.9748 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.223, allocations: 0 / 0.9748 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008715/1.224, allocations: 331.7 kB / 0.9751 GB, free: 15.23 MB / 0.7325 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 (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.0004457/1.224, allocations: 195.1 kB / 0.9753 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009022/1.225, allocations: 0.4977 MB / 0.9758 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.225, allocations: 2 kB / 0.9758 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/1.225, allocations: 177.6 kB / 0.976 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/1.227, allocations: 357 kB / 0.9763 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/1.229, allocations: 1.265 MB / 0.9776 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/1.229, allocations: 0.9363 MB / 0.9785 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005434/1.23, allocations: 181.8 kB / 0.9786 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/1.23, allocations: 44.84 kB / 0.9787 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/1.23, allocations: 2.047 kB / 0.9787 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of Templates: time 0.019/1.249, allocations: 11.83 MB / 0.9902 GB, free: 13.24 MB / 0.7325 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)