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.005392/0.005392, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001151/0.001151, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.9436/0.9436, allocations: 143 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.5955 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.173, allocations: 82.03 MB / 0.6756 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.5756/0.7486, allocations: 183.3 MB / 0.8546 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009913/0.7586, allocations: 4.874 MB / 0.8594 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.7603, allocations: 35.81 kB / 0.8594 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.762, allocations: 437.4 kB / 0.8599 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.7666, allocations: 1.408 MB / 0.8612 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.7694, allocations: 0.7813 MB / 0.862 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003032/0.7724, allocations: 1.84 MB / 0.8638 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.7737, allocations: 0.5974 MB / 0.8644 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.7759, allocations: 0.8716 MB / 0.8652 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.7775, allocations: 0.5455 MB / 0.8658 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.7778, allocations: 60 kB / 0.8658 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/0.781, allocations: 1.411 MB / 0.8672 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004094/0.7814, allocations: 267.2 kB / 0.8674 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007053/0.7821, allocations: 406.1 kB / 0.8678 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.7853, allocations: 1.479 MB / 0.8693 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7853, allocations: 0 / 0.8693 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7853, allocations: 0 / 0.8693 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.049e-05/0.7853, allocations: 4 kB / 0.8693 GB, free: 7.418 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.002361/0.7877, allocations: 1.128 MB / 0.8704 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.7878, allocations: 12.03 kB / 0.8704 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.7892, allocations: 207.3 kB / 0.8706 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.7904, allocations: 0.6244 MB / 0.8712 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.7904, allocations: 37 kB / 0.8712 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.7905, allocations: 48 kB / 0.8713 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009983/0.7915, allocations: 494.3 kB / 0.8718 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.7916, allocations: 7.875 kB / 0.8718 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.7916, allocations: 24 kB / 0.8718 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.7916, allocations: 17 kB / 0.8718 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008214/0.7925, allocations: 435.7 kB / 0.8722 GB, free: 4.309 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.003619/0.7961, allocations: 2.022 MB / 0.8742 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007748/0.7969, allocations: 344.4 kB / 0.8745 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.7973, allocations: 209.9 kB / 0.8747 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/0.7977, allocations: 194.5 kB / 0.8749 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.7977, allocations: 30.84 kB / 0.8749 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.7977, allocations: 4 kB / 0.8749 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.001448/0.7992, allocations: 0.5535 MB / 0.8755 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.7992, allocations: 55.41 kB / 0.8755 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.7999, allocations: 0.5069 MB / 0.876 GB, free: 152 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.8, allocations: 33.7 kB / 0.8761 GB, free: 112 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.8003, allocations: 304.6 kB / 0.8763 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.8004, allocations: 122.9 kB / 0.8765 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.8006, allocations: 77.98 kB / 0.8765 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.8008, allocations: 366.8 kB / 0.8769 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.8011, allocations: 138.1 kB / 0.877 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.8015, allocations: 215.7 kB / 0.8772 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006387/0.8021, allocations: 340.1 kB / 0.8776 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8022, allocations: 0 / 0.8776 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009183/0.8031, allocations: 436.9 kB / 0.878 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.8031, allocations: 4 kB / 0.878 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8031, allocations: 0 / 0.878 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.8032, allocations: 4 kB / 0.878 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.8035, allocations: 75.89 kB / 0.878 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.8036, allocations: 3.938 kB / 0.8781 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.8041, allocations: 39.77 kB / 0.8781 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.8042, allocations: 20.03 kB / 0.8781 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004954/0.8047, allocations: 308 kB / 0.8784 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003169/0.805, allocations: 207.4 kB / 0.8786 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005382/0.8056, allocations: 335.3 kB / 0.8789 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.8056, allocations: 0 / 0.8789 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008158/0.8064, allocations: 424.9 kB / 0.8793 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.8064, allocations: 12.08 kB / 0.8793 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8064, allocations: 4 kB / 0.8793 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.8065, allocations: 0 / 0.8793 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.8068, allocations: 71.91 kB / 0.8794 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.8068, allocations: 4 kB / 0.8794 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/0.8073, allocations: 35.8 kB / 0.8794 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.8074, allocations: 12.88 kB / 0.8795 GB, free: 12.52 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.0001862/0.8076, allocations: 204.1 kB / 0.8797 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.8077, allocations: 63.62 kB / 0.8797 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008454/0.8086, allocations: 419 kB / 0.8801 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.8086, allocations: 4 kB / 0.8801 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8086, allocations: 3.938 kB / 0.8801 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006735/0.8093, allocations: 429.6 kB / 0.8805 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.8113, allocations: 1.175 MB / 0.8817 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8113, allocations: 4.875 kB / 0.8817 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.8117, allocations: 92.06 kB / 0.8818 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.8117, allocations: 0 / 0.8818 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.8118, allocations: 12 kB / 0.8818 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.8118, allocations: 0 / 0.8818 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8118, allocations: 4 kB / 0.8818 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.8129, allocations: 0.711 MB / 0.8825 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.8132, allocations: 184.3 kB / 0.8827 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.182e-05/0.8133, allocations: 11.98 kB / 0.8827 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.8138, allocations: 30.55 kB / 0.8827 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.8139, allocations: 19.98 kB / 0.8827 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.8139, allocations: 15.98 kB / 0.8827 GB, free: 9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004624/0.8144, allocations: 362.8 kB / 0.8831 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.523e-06/0.8144, allocations: 0 / 0.8831 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009063/0.8153, allocations: 331.3 kB / 0.8834 GB, free: 8.324 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.0004772/0.8158, allocations: 201.2 kB / 0.8836 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.8169, allocations: 0.5234 MB / 0.8841 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8169, allocations: 0 / 0.8841 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.8173, allocations: 184.2 kB / 0.8843 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.8189, allocations: 351.6 kB / 0.8846 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.8209, allocations: 1.267 MB / 0.8858 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.8215, allocations: 0.9373 MB / 0.8868 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005938/0.8221, allocations: 180.8 kB / 0.8869 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.8223, allocations: 43.44 kB / 0.887 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of SimCode: time 6.72e-07/0.8223, allocations: 0 / 0.887 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.02008/0.8424, allocations: 11.78 MB / 0.8985 GB, free: 8.977 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)