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.001461/0.001461, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001886/0.001886, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 286.4 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9289/0.9289, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 90.34 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1795, allocations: 86.99 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.4889/0.6684, allocations: 180.8 MB / 0.8562 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008294/0.6767, allocations: 4.852 MB / 0.8609 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.6779, allocations: 26.91 kB / 0.861 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.6792, allocations: 385 kB / 0.8613 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.6827, allocations: 1.328 MB / 0.8626 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.6846, allocations: 0.7017 MB / 0.8633 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.6867, allocations: 1.847 MB / 0.8651 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007537/0.6875, allocations: 0.5742 MB / 0.8657 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.6892, allocations: 0.8677 MB / 0.8665 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.6903, allocations: 0.5734 MB / 0.8671 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.163e-05/0.6904, allocations: 57.69 kB / 0.8672 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.6929, allocations: 1.472 MB / 0.8686 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.6932, allocations: 262.1 kB / 0.8688 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.6936, allocations: 403 kB / 0.8692 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.6958, allocations: 1.498 MB / 0.8707 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6958, allocations: 0 / 0.8707 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6958, allocations: 2.812 kB / 0.8707 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.6958, allocations: 0 / 0.8707 GB, free: 14.19 MB / 0.5919 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.001588/0.6974, allocations: 1.1 MB / 0.8718 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6974, allocations: 10.59 kB / 0.8718 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.6987, allocations: 207.1 kB / 0.872 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/0.6996, allocations: 0.584 MB / 0.8725 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.6996, allocations: 37.34 kB / 0.8726 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.6997, allocations: 52.31 kB / 0.8726 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008145/0.7005, allocations: 499 kB / 0.8731 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.7005, allocations: 0 / 0.8731 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.7006, allocations: 21.22 kB / 0.8731 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.7006, allocations: 20.09 kB / 0.8731 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007088/0.7013, allocations: 440.7 kB / 0.8736 GB, free: 12.19 MB / 0.5919 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.002428/0.7038, allocations: 2.007 MB / 0.8755 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.7044, allocations: 348.4 kB / 0.8759 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.7047, allocations: 214.9 kB / 0.8761 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.705, allocations: 192.2 kB / 0.8762 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.705, allocations: 44.89 kB / 0.8763 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.705, allocations: 0 / 0.8763 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001146/0.7062, allocations: 0.5355 MB / 0.8768 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.7062, allocations: 53.81 kB / 0.8769 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.7067, allocations: 0.5133 MB / 0.8774 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.7068, allocations: 32.14 kB / 0.8774 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.707, allocations: 303.3 kB / 0.8777 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.7071, allocations: 117.5 kB / 0.8778 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.7072, allocations: 72.67 kB / 0.8779 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7074, allocations: 367.1 kB / 0.8782 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.7076, allocations: 141.8 kB / 0.8783 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.7079, allocations: 221.3 kB / 0.8786 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.7084, allocations: 337.5 kB / 0.8789 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7085, allocations: 0 / 0.8789 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006736/0.7091, allocations: 427.5 kB / 0.8793 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7092, allocations: 9.812 kB / 0.8793 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7092, allocations: 0 / 0.8793 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.7092, allocations: 2.125 kB / 0.8793 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.7095, allocations: 75.41 kB / 0.8794 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.7095, allocations: 6.562 kB / 0.8794 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.7101, allocations: 62.89 kB / 0.8794 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.7101, allocations: 18.27 kB / 0.8795 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004213/0.7106, allocations: 303.6 kB / 0.8797 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002848/0.7109, allocations: 216.1 kB / 0.8799 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004915/0.7114, allocations: 324.4 kB / 0.8803 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.7114, allocations: 4 kB / 0.8803 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006444/0.712, allocations: 427 kB / 0.8807 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.712, allocations: 7.25 kB / 0.8807 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.712, allocations: 0 / 0.8807 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-06/0.712, allocations: 3 kB / 0.8807 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.7123, allocations: 71.31 kB / 0.8807 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.7124, allocations: 2.781 kB / 0.8807 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.7129, allocations: 64.58 kB / 0.8808 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.7129, allocations: 14.25 kB / 0.8808 GB, free: 6.965 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.713, allocations: 202.4 kB / 0.881 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/0.7131, allocations: 65.44 kB / 0.8811 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007202/0.7139, allocations: 424.1 kB / 0.8815 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.7139, allocations: 2.75 kB / 0.8815 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.7139, allocations: 7.922 kB / 0.8815 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005648/0.7145, allocations: 433.2 kB / 0.8819 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.7161, allocations: 1.173 MB / 0.8831 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7161, allocations: 0 / 0.8831 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.7165, allocations: 85.61 kB / 0.8831 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.7166, allocations: 1.812 kB / 0.8831 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.7166, allocations: 13.58 kB / 0.8831 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.7166, allocations: 2.312 kB / 0.8832 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7166, allocations: 2.531 kB / 0.8832 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009546/0.7176, allocations: 0.7026 MB / 0.8838 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.7178, allocations: 180.9 kB / 0.884 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.7179, allocations: 9.094 kB / 0.884 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/0.7184, allocations: 42.17 kB / 0.8841 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.7185, allocations: 28.97 kB / 0.8841 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.7185, allocations: 21.45 kB / 0.8841 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003616/0.7189, allocations: 362.4 kB / 0.8845 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7189, allocations: 0 / 0.8845 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008167/0.7197, allocations: 328.8 kB / 0.8848 GB, free: 4.332 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 (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.0004058/0.7201, allocations: 200.4 kB / 0.885 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.7211, allocations: 0.5482 MB / 0.8855 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7212, allocations: 2.594 kB / 0.8855 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.7215, allocations: 181.3 kB / 0.8857 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.723, allocations: 359.8 kB / 0.886 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.725, allocations: 1.493 MB / 0.8875 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.7255, allocations: 0.9256 MB / 0.8884 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006445/0.7261, allocations: 184.7 kB / 0.8886 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.7263, allocations: 55.42 kB / 0.8886 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.7263, allocations: 0 / 0.8886 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of Templates: time 0.01871/0.745, allocations: 11.56 MB / 0.8999 GB, free: 6.039 MB / 0.6075 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)