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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.004401/0.004401, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.000974/0.0009739, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8252/0.8252, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 64.05 kB / 0.5955 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1426, allocations: 82.04 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.5439/0.6866, allocations: 183.3 MB / 0.8546 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008073/0.6947, allocations: 4.868 MB / 0.8594 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.6959, allocations: 27.81 kB / 0.8594 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.6971, allocations: 445.3 kB / 0.8598 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.7006, allocations: 1.415 MB / 0.8612 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.7026, allocations: 0.7717 MB / 0.862 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.7048, allocations: 1.848 MB / 0.8638 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007324/0.7055, allocations: 0.6016 MB / 0.8644 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.7071, allocations: 0.8871 MB / 0.8652 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.7082, allocations: 0.5404 MB / 0.8658 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.67e-05/0.7083, allocations: 60 kB / 0.8658 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.7109, allocations: 1.415 MB / 0.8672 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.7111, allocations: 259.3 kB / 0.8675 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.7115, allocations: 410 kB / 0.8678 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.7132, allocations: 1.457 MB / 0.8693 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7132, allocations: 3.938 kB / 0.8693 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7133, allocations: 4 kB / 0.8693 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.7133, allocations: 4 kB / 0.8693 GB, free: 7.406 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.001559/0.7148, allocations: 1.102 MB / 0.8704 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.7149, allocations: 12.03 kB / 0.8704 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.7162, allocations: 206.9 kB / 0.8706 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008675/0.717, allocations: 0.62 MB / 0.8712 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.7171, allocations: 33 kB / 0.8712 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.187e-05/0.7172, allocations: 48 kB / 0.8712 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.718, allocations: 498.3 kB / 0.8717 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.718, allocations: 3.906 kB / 0.8717 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.7181, allocations: 20 kB / 0.8717 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.7181, allocations: 20.94 kB / 0.8718 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007244/0.7188, allocations: 443.7 kB / 0.8722 GB, free: 4.324 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.002423/0.7213, allocations: 2.013 MB / 0.8742 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.722, allocations: 351.5 kB / 0.8745 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.7223, allocations: 205.9 kB / 0.8747 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.7226, allocations: 194.5 kB / 0.8749 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.7227, allocations: 38.84 kB / 0.8749 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.7227, allocations: 0 / 0.8749 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.001262/0.724, allocations: 0.5415 MB / 0.8754 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.724, allocations: 59.41 kB / 0.8755 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.7246, allocations: 0.5069 MB / 0.876 GB, free: 180 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.7246, allocations: 41.64 kB / 0.876 GB, free: 132 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.7248, allocations: 304.3 kB / 0.8763 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.725, allocations: 114.2 kB / 0.8764 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.7251, allocations: 70.02 kB / 0.8765 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7252, allocations: 362.8 kB / 0.8768 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.7255, allocations: 142.1 kB / 0.877 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.7258, allocations: 215.7 kB / 0.8772 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.7263, allocations: 344.1 kB / 0.8775 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7263, allocations: 0 / 0.8775 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006724/0.727, allocations: 420.7 kB / 0.8779 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.727, allocations: 7.984 kB / 0.8779 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7271, allocations: 96 / 0.8779 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.7271, allocations: 8 kB / 0.8779 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.7274, allocations: 71.91 kB / 0.878 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.7274, allocations: 5.031 kB / 0.878 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.7279, allocations: 43.61 kB / 0.878 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.7279, allocations: 15.98 kB / 0.8781 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004154/0.7283, allocations: 304 kB / 0.8783 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002926/0.7286, allocations: 215.4 kB / 0.8786 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005049/0.7292, allocations: 339.2 kB / 0.8789 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.7292, allocations: 0 / 0.8789 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006576/0.7298, allocations: 424.6 kB / 0.8793 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.7298, allocations: 10.81 kB / 0.8793 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/0.7299, allocations: 0 / 0.8793 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-06/0.7299, allocations: 0 / 0.8793 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.7302, allocations: 67.91 kB / 0.8794 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.7302, allocations: 9.656 kB / 0.8794 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.7306, allocations: 39.75 kB / 0.8794 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.7306, allocations: 12 kB / 0.8794 GB, free: 12.55 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.0001272/0.7308, allocations: 197.1 kB / 0.8796 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.646e-05/0.7309, allocations: 59.25 kB / 0.8797 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007489/0.7316, allocations: 430.8 kB / 0.8801 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.7316, allocations: 8 kB / 0.8801 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7317, allocations: 3.938 kB / 0.8801 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005876/0.7322, allocations: 429.7 kB / 0.8805 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.7339, allocations: 1.179 MB / 0.8816 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7339, allocations: 7.938 kB / 0.8816 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.7343, allocations: 83.88 kB / 0.8817 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.7343, allocations: 4 kB / 0.8817 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.7344, allocations: 12 kB / 0.8817 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.7344, allocations: 4.125 kB / 0.8817 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7344, allocations: 8 kB / 0.8818 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.7354, allocations: 0.6991 MB / 0.8824 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.7356, allocations: 180.3 kB / 0.8826 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.7357, allocations: 11.94 kB / 0.8826 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.7361, allocations: 29.69 kB / 0.8827 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.7362, allocations: 23.97 kB / 0.8827 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.7362, allocations: 12 kB / 0.8827 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003622/0.7366, allocations: 366.8 kB / 0.883 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7366, allocations: 0 / 0.883 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007799/0.7374, allocations: 323.2 kB / 0.8833 GB, free: 8.367 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.0004125/0.7378, allocations: 194 kB / 0.8835 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009461/0.7388, allocations: 0.5274 MB / 0.884 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.7388, allocations: 0 / 0.884 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.7391, allocations: 179.8 kB / 0.8842 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.7407, allocations: 350.6 kB / 0.8845 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.7426, allocations: 1.241 MB / 0.8858 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.7432, allocations: 0.9295 MB / 0.8867 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005303/0.7437, allocations: 180.8 kB / 0.8868 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.7439, allocations: 55.42 kB / 0.8869 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7439, allocations: 0 / 0.8869 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.02112/0.765, allocations: 11.79 MB / 0.8984 GB, free: 9.043 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.makefile (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)