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.001077/0.001077, allocations: 116.6 kB / 16.37 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.001008/0.001009, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.243/1.243, 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.002073/0.002073, allocations: 291.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9017/0.9017, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 92.34 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1572, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.4458/0.603, allocations: 183.2 MB / 0.8605 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00683/0.6099, allocations: 4.865 MB / 0.8653 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000623/0.6105, allocations: 31.81 kB / 0.8653 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009815/0.6116, allocations: 429.3 kB / 0.8657 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.6143, allocations: 1.416 MB / 0.8671 GB, free: 448 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.616, allocations: 0.7874 MB / 0.8679 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.6179, allocations: 1.84 MB / 0.8697 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007047/0.6187, allocations: 0.5933 MB / 0.8703 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.6201, allocations: 0.8793 MB / 0.8711 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009318/0.621, allocations: 0.5484 MB / 0.8717 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.689e-05/0.6211, allocations: 56 kB / 0.8717 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.6233, allocations: 1.419 MB / 0.8731 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.6236, allocations: 263.2 kB / 0.8733 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.6239, allocations: 398.1 kB / 0.8737 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.6256, allocations: 1.43 MB / 0.8751 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6256, allocations: 0 / 0.8751 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6256, allocations: 0 / 0.8751 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.6256, allocations: 0 / 0.8751 GB, free: 8.223 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.001526/0.6272, allocations: 1.098 MB / 0.8762 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6272, allocations: 8.031 kB / 0.8762 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.6284, allocations: 210.9 kB / 0.8764 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009252/0.6294, allocations: 0.6161 MB / 0.877 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.6294, allocations: 37 kB / 0.877 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.382e-05/0.6295, allocations: 52 kB / 0.8771 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/0.6303, allocations: 498.3 kB / 0.8776 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6303, allocations: 0 / 0.8776 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.6304, allocations: 20 kB / 0.8776 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.6304, allocations: 13 kB / 0.8776 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007291/0.6311, allocations: 439.7 kB / 0.878 GB, free: 5.172 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.002379/0.6335, allocations: 2.013 MB / 0.88 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/0.6341, allocations: 347.5 kB / 0.8803 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.6344, allocations: 209.3 kB / 0.8805 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.6347, allocations: 190.5 kB / 0.8807 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.6347, allocations: 42.84 kB / 0.8807 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.6348, allocations: 0 / 0.8807 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.001129/0.6359, allocations: 0.5371 MB / 0.8813 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.6359, allocations: 55.41 kB / 0.8813 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.6364, allocations: 0.5108 MB / 0.8818 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.6365, allocations: 33.7 kB / 0.8818 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.6367, allocations: 304.2 kB / 0.8821 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/0.6368, allocations: 118.3 kB / 0.8822 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.6369, allocations: 73.92 kB / 0.8823 GB, free: 500 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.637, allocations: 362.8 kB / 0.8827 GB, free: 128 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.6373, allocations: 142.1 kB / 0.8828 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.6376, allocations: 215.7 kB / 0.883 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.6381, allocations: 339.1 kB / 0.8833 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6381, allocations: 0 / 0.8833 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006672/0.6388, allocations: 433.7 kB / 0.8837 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6388, allocations: 8 kB / 0.8837 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6388, allocations: 0 / 0.8837 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.6389, allocations: 0 / 0.8837 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.6392, allocations: 71.91 kB / 0.8838 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.6392, allocations: 12.03 kB / 0.8838 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.6396, allocations: 39.66 kB / 0.8839 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.6396, allocations: 12 kB / 0.8839 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003836/0.64, allocations: 304 kB / 0.8842 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002806/0.6403, allocations: 215.3 kB / 0.8844 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004886/0.6408, allocations: 332 kB / 0.8847 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.6408, allocations: 0 / 0.8847 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.00063/0.6415, allocations: 424.6 kB / 0.8851 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.6415, allocations: 4 kB / 0.8851 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/0.6415, allocations: 0 / 0.8851 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.6415, allocations: 4 kB / 0.8851 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.6418, allocations: 71.84 kB / 0.8852 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.6418, allocations: 4.938 kB / 0.8852 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.6422, allocations: 39.75 kB / 0.8852 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.6423, allocations: 16 kB / 0.8852 GB, free: 13.41 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.0001149/0.6424, allocations: 208.1 kB / 0.8854 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.6425, allocations: 55.34 kB / 0.8855 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006968/0.6432, allocations: 420.7 kB / 0.8859 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6432, allocations: 4 kB / 0.8859 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.6432, allocations: 3.938 kB / 0.8859 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005527/0.6438, allocations: 440.4 kB / 0.8863 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.6454, allocations: 1.175 MB / 0.8875 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6454, allocations: 3.938 kB / 0.8875 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.6458, allocations: 83.89 kB / 0.8875 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6458, allocations: 4 kB / 0.8875 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.6458, allocations: 8 kB / 0.8875 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6458, allocations: 4 kB / 0.8876 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6458, allocations: 3.938 kB / 0.8876 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.6468, allocations: 0.7105 MB / 0.8882 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.647, allocations: 188.3 kB / 0.8884 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.6471, allocations: 8 kB / 0.8884 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.6475, allocations: 19.97 kB / 0.8885 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.6476, allocations: 24.06 kB / 0.8885 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.6476, allocations: 19.98 kB / 0.8885 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003563/0.648, allocations: 366.8 kB / 0.8888 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.648, allocations: 0 / 0.8888 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007248/0.6487, allocations: 319.2 kB / 0.8892 GB, free: 9.227 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.0003653/0.6491, allocations: 196.2 kB / 0.8893 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008746/0.65, allocations: 0.523 MB / 0.8898 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.65, allocations: 4 kB / 0.8899 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.6503, allocations: 175.8 kB / 0.89 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.6517, allocations: 355.9 kB / 0.8904 GB, free: 8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.6533, allocations: 1.249 MB / 0.8916 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.6537, allocations: 0.9333 MB / 0.8925 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004626/0.6542, allocations: 184.7 kB / 0.8927 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.6543, allocations: 51.42 kB / 0.8927 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6543, allocations: 0 / 0.8927 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of Templates: time 0.01713/0.6715, allocations: 11.67 MB / 0.9041 GB, free: 10.04 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)