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.001082/0.001082, allocations: 106.7 kB / 16.36 MB, free: 5.875 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.001069/0.001069, allocations: 191 kB / 17.29 MB, free: 5.516 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 288.3 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9384/0.9384, allocations: 169.3 MB / 0.4989 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 94.97 kB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1539, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.442/0.596, allocations: 183.2 MB / 0.8605 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007674/0.6037, allocations: 4.862 MB / 0.8653 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007673/0.6045, allocations: 31.81 kB / 0.8653 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.6056, allocations: 429.4 kB / 0.8657 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.6087, allocations: 1.416 MB / 0.8671 GB, free: 484 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.6106, allocations: 0.785 MB / 0.8679 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.6126, allocations: 1.844 MB / 0.8697 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007393/0.6134, allocations: 0.6005 MB / 0.8703 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.6148, allocations: 0.8716 MB / 0.8711 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.6159, allocations: 0.5466 MB / 0.8716 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.918e-05/0.616, allocations: 56 kB / 0.8717 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.6183, allocations: 1.415 MB / 0.8731 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.6185, allocations: 267.2 kB / 0.8733 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.6189, allocations: 398.1 kB / 0.8737 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.6207, allocations: 1.422 MB / 0.8751 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.6208, allocations: 0 / 0.8751 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6208, allocations: 0 / 0.8751 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.6208, allocations: 3.938 kB / 0.8751 GB, free: 8.262 MB / 0.6387 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.001587/0.6224, allocations: 1.106 MB / 0.8762 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.6224, allocations: 8.031 kB / 0.8762 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.6237, allocations: 207.8 kB / 0.8764 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.6247, allocations: 0.6161 MB / 0.877 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.6248, allocations: 33 kB / 0.877 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.6249, allocations: 52 kB / 0.8771 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008164/0.6257, allocations: 0.4906 MB / 0.8775 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.6257, allocations: 7.938 kB / 0.8776 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.6258, allocations: 16 kB / 0.8776 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.6258, allocations: 16.98 kB / 0.8776 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.6266, allocations: 435.7 kB / 0.878 GB, free: 5.203 MB / 0.6387 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.002534/0.6291, allocations: 2.012 MB / 0.88 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.6297, allocations: 343.5 kB / 0.8803 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.6301, allocations: 219.5 kB / 0.8805 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.6304, allocations: 190.5 kB / 0.8807 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.6304, allocations: 42.84 kB / 0.8807 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.6304, allocations: 0 / 0.8807 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.001219/0.6317, allocations: 0.5332 MB / 0.8812 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.6317, allocations: 55.41 kB / 0.8813 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.6322, allocations: 0.5147 MB / 0.8818 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.6323, allocations: 29.7 kB / 0.8818 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.6325, allocations: 308.2 kB / 0.8821 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.6326, allocations: 114.3 kB / 0.8822 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.6327, allocations: 73.92 kB / 0.8823 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6329, allocations: 362.8 kB / 0.8827 GB, free: 164 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.6331, allocations: 146.1 kB / 0.8828 GB, free: 16 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.6335, allocations: 211.7 kB / 0.883 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/0.634, allocations: 336.4 kB / 0.8833 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.634, allocations: 0 / 0.8833 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007249/0.6348, allocations: 433.7 kB / 0.8837 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6348, allocations: 8 kB / 0.8837 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6348, allocations: 0 / 0.8837 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.6348, allocations: 4 kB / 0.8837 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.6352, allocations: 72 kB / 0.8838 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.6352, allocations: 7.938 kB / 0.8838 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.6357, allocations: 39.66 kB / 0.8839 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.6357, allocations: 12 kB / 0.8839 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004132/0.6361, allocations: 304 kB / 0.8842 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002944/0.6364, allocations: 215.3 kB / 0.8844 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005202/0.637, allocations: 332 kB / 0.8847 GB, free: 14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.637, allocations: 0 / 0.8847 GB, free: 14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006642/0.6376, allocations: 428.6 kB / 0.8851 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.6377, allocations: 4 kB / 0.8851 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.6377, allocations: 0 / 0.8851 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/0.6377, allocations: 4 kB / 0.8851 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.638, allocations: 67.89 kB / 0.8852 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.638, allocations: 4 kB / 0.8852 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.6384, allocations: 47.7 kB / 0.8852 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.6384, allocations: 9.875 kB / 0.8852 GB, free: 13.45 MB / 0.6544 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.0001305/0.6386, allocations: 205.7 kB / 0.8854 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.6387, allocations: 55.34 kB / 0.8855 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007473/0.6394, allocations: 420.7 kB / 0.8859 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6394, allocations: 4 kB / 0.8859 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6395, allocations: 3.938 kB / 0.8859 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005893/0.64, allocations: 444.4 kB / 0.8863 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.6418, allocations: 1.175 MB / 0.8874 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6418, allocations: 0 / 0.8874 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.6422, allocations: 79.89 kB / 0.8875 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6422, allocations: 4 kB / 0.8875 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.6423, allocations: 8 kB / 0.8875 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.6423, allocations: 7.984 kB / 0.8875 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6423, allocations: 3.938 kB / 0.8875 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.6433, allocations: 0.7087 MB / 0.8882 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.6436, allocations: 184.3 kB / 0.8884 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/0.6437, allocations: 9 kB / 0.8884 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.6441, allocations: 23.97 kB / 0.8884 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.6442, allocations: 19.97 kB / 0.8885 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.6442, allocations: 16 kB / 0.8885 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003859/0.6446, allocations: 366.8 kB / 0.8888 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6446, allocations: 0 / 0.8888 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007803/0.6454, allocations: 327.2 kB / 0.8891 GB, free: 9.258 MB / 0.6544 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.0004205/0.6458, allocations: 196 kB / 0.8893 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009319/0.6468, allocations: 0.523 MB / 0.8898 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6468, allocations: 4 kB / 0.8898 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.6471, allocations: 171.8 kB / 0.89 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.6486, allocations: 355.3 kB / 0.8903 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.6505, allocations: 1.241 MB / 0.8916 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.6511, allocations: 0.9333 MB / 0.8925 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004966/0.6516, allocations: 196.6 kB / 0.8927 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.6517, allocations: 47.44 kB / 0.8927 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6517, allocations: 0 / 0.8927 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of Templates: time 0.01911/0.6708, allocations: 11.68 MB / 0.9041 GB, free: 10.08 MB / 0.67 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)