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.0009682/0.0009681, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006011/0.006011, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.245/1.245, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.93/0.93, allocations: 143.2 MB / 434.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.000389, allocations: 8 kB / 0.5164 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1978, allocations: 83.41 MB / 0.5978 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.5284/0.7262, allocations: 178.7 MB / 0.7723 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008761/0.735, allocations: 4.892 MB / 0.7771 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.7362, allocations: 23.81 kB / 0.7771 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.7374, allocations: 378 kB / 0.7775 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.741, allocations: 1.319 MB / 0.7788 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.7432, allocations: 0.7042 MB / 0.7794 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003241/0.7465, allocations: 2.53 MB / 0.7819 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007297/0.7472, allocations: 0.493 MB / 0.7824 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.7488, allocations: 0.7507 MB / 0.7831 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.7499, allocations: 0.5547 MB / 0.7837 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.75, allocations: 24 kB / 0.7837 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.7527, allocations: 1.605 MB / 0.7853 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.7529, allocations: 231.2 kB / 0.7855 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.7533, allocations: 379.8 kB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.7551, allocations: 1.488 MB / 0.7873 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7551, allocations: 0 / 0.7873 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7551, allocations: 4 kB / 0.7873 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.7551, allocations: 0 / 0.7873 GB, free: 10.04 MB / 0.6075 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.001464/0.7566, allocations: 0.9692 MB / 0.7883 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.7566, allocations: 12.03 kB / 0.7883 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.7579, allocations: 214.8 kB / 0.7885 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008605/0.7588, allocations: 0.5771 MB / 0.789 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.7588, allocations: 41 kB / 0.7891 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.7589, allocations: 48 kB / 0.7891 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.7597, allocations: 0.4906 MB / 0.7896 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.7598, allocations: 0 / 0.7896 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.7598, allocations: 20 kB / 0.7896 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.7599, allocations: 17 kB / 0.7896 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.7606, allocations: 455.6 kB / 0.7901 GB, free: 7.113 MB / 0.6075 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.002611/0.7632, allocations: 2.013 MB / 0.792 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.7639, allocations: 351.6 kB / 0.7924 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.7642, allocations: 220.7 kB / 0.7926 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.7645, allocations: 198.5 kB / 0.7928 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.7645, allocations: 42.84 kB / 0.7928 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.7645, allocations: 7.875 kB / 0.7928 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001177/0.7657, allocations: 0.5527 MB / 0.7934 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.7658, allocations: 59.34 kB / 0.7934 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.7663, allocations: 0.5069 MB / 0.7939 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.7664, allocations: 33.7 kB / 0.7939 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.7666, allocations: 296.2 kB / 0.7942 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.7667, allocations: 122.3 kB / 0.7943 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.7668, allocations: 41.7 kB / 0.7944 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7669, allocations: 362.8 kB / 0.7947 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.7672, allocations: 144.5 kB / 0.7949 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.7675, allocations: 216.7 kB / 0.7951 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.7681, allocations: 346.2 kB / 0.7954 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.7681, allocations: 0 / 0.7954 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000726/0.7689, allocations: 448.4 kB / 0.7958 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/0.769, allocations: 120.3 kB / 0.7959 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.769, allocations: 0 / 0.7959 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.769, allocations: 4 kB / 0.7959 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.7693, allocations: 71.91 kB / 0.796 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.7693, allocations: 7.984 kB / 0.796 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.7698, allocations: 67.64 kB / 0.7961 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.7699, allocations: 8 kB / 0.7961 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.7699, allocations: 7.938 kB / 0.7961 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006108/0.7705, allocations: 355.9 kB / 0.7964 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.7705, allocations: 4 kB / 0.7964 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-06/0.7705, allocations: 0 / 0.7964 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.7708, allocations: 71.84 kB / 0.7965 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7709, allocations: 7.984 kB / 0.7965 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.7714, allocations: 67.73 kB / 0.7966 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.7714, allocations: 12 kB / 0.7966 GB, free: 92 kB / 0.6075 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.000293/0.7717, allocations: 293.6 kB / 0.7969 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.7718, allocations: 59.34 kB / 0.7969 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007714/0.7726, allocations: 431 kB / 0.7973 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7726, allocations: 7.938 kB / 0.7974 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7726, allocations: 0 / 0.7974 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000615/0.7732, allocations: 453.5 kB / 0.7978 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.7749, allocations: 1.182 MB / 0.7989 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7749, allocations: 3.938 kB / 0.7989 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.7753, allocations: 92.06 kB / 0.799 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.7753, allocations: 4 kB / 0.799 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.7754, allocations: 8 kB / 0.799 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.7754, allocations: 4 kB / 0.799 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7754, allocations: 3.938 kB / 0.799 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.7764, allocations: 0.7185 MB / 0.7997 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.7767, allocations: 184.2 kB / 0.7999 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.7767, allocations: 8 kB / 0.7999 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/0.7772, allocations: 51.89 kB / 0.8 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.7773, allocations: 27.91 kB / 0.8 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.7774, allocations: 12 kB / 0.8 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004282/0.7778, allocations: 362.8 kB / 0.8004 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7778, allocations: 0 / 0.8004 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008502/0.7787, allocations: 323.2 kB / 0.8007 GB, free: 11.73 MB / 0.6231 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.0004262/0.7791, allocations: 201.1 kB / 0.8009 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009814/0.7801, allocations: 0.5307 MB / 0.8014 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7801, allocations: 0 / 0.8014 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.7804, allocations: 188.3 kB / 0.8016 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.7823, allocations: 370 kB / 0.8019 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.7845, allocations: 1.563 MB / 0.8034 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.7851, allocations: 0.9296 MB / 0.8044 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006161/0.7857, allocations: 190.5 kB / 0.8045 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.7858, allocations: 51.44 kB / 0.8046 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/0.7858, allocations: 0 / 0.8046 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of Templates: time 0.01916/0.805, allocations: 11.32 MB / 0.8156 GB, free: 12.54 MB / 0.6387 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)