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.001451/0.001451, allocations: 100.9 kB / 16.4 MB, free: 6.461 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.001523/0.001523, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.05 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.875/0.875, allocations: 143.1 MB / 434.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 68.44 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1508, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.5032/0.6541, allocations: 183.8 MB / 0.8558 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008018/0.6621, allocations: 4.878 MB / 0.8606 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009667/0.663, allocations: 31.81 kB / 0.8606 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.6645, allocations: 469.3 kB / 0.861 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004433/0.669, allocations: 1.459 MB / 0.8625 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.671, allocations: 0.7809 MB / 0.8632 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002554/0.6735, allocations: 1.851 MB / 0.865 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007922/0.6743, allocations: 0.496 MB / 0.8655 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.6761, allocations: 0.9028 MB / 0.8664 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.6772, allocations: 0.5427 MB / 0.8669 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.553e-05/0.6773, allocations: 56 kB / 0.867 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.68, allocations: 1.422 MB / 0.8684 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.6803, allocations: 267.2 kB / 0.8686 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004467/0.6807, allocations: 406.1 kB / 0.869 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.6831, allocations: 1.475 MB / 0.8705 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.6831, allocations: 0 / 0.8705 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6831, allocations: 0 / 0.8705 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.6831, allocations: 0 / 0.8705 GB, free: 6.945 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.00189/0.685, allocations: 1.135 MB / 0.8716 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.6851, allocations: 12.03 kB / 0.8716 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.6864, allocations: 207.3 kB / 0.8718 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.6874, allocations: 0.6205 MB / 0.8724 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.6875, allocations: 37 kB / 0.8724 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.943e-05/0.6876, allocations: 44 kB / 0.8725 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009067/0.6885, allocations: 0.4944 MB / 0.8729 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.6885, allocations: 0 / 0.8729 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.6885, allocations: 20 kB / 0.873 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.6886, allocations: 27.62 kB / 0.873 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008182/0.6894, allocations: 443.6 kB / 0.8734 GB, free: 3.82 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.002854/0.6922, allocations: 2.014 MB / 0.8754 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.6929, allocations: 333.8 kB / 0.8757 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.6932, allocations: 194.5 kB / 0.8759 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/0.6936, allocations: 198.5 kB / 0.8761 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.6936, allocations: 34.84 kB / 0.8761 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.6936, allocations: 0 / 0.8761 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.001259/0.6948, allocations: 0.5496 MB / 0.8766 GB, free: 288 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.6949, allocations: 55.41 kB / 0.8767 GB, free: 220 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.6955, allocations: 0.5108 MB / 0.8772 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.6956, allocations: 33.7 kB / 0.8772 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.6958, allocations: 304.6 kB / 0.8775 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.6959, allocations: 126.9 kB / 0.8776 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.6961, allocations: 65.98 kB / 0.8777 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6962, allocations: 374.8 kB / 0.8781 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.6965, allocations: 138.1 kB / 0.8782 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.6969, allocations: 215.7 kB / 0.8784 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.6975, allocations: 344.1 kB / 0.8787 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6975, allocations: 0 / 0.8787 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007753/0.6983, allocations: 425 kB / 0.8791 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6983, allocations: 11.94 kB / 0.8791 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6983, allocations: 0 / 0.8791 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6983, allocations: 4 kB / 0.8791 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.6986, allocations: 75.89 kB / 0.8792 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6986, allocations: 7.875 kB / 0.8792 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.6991, allocations: 35.77 kB / 0.8793 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.6991, allocations: 16 kB / 0.8793 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004722/0.6996, allocations: 312.1 kB / 0.8796 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003294/0.6999, allocations: 207.4 kB / 0.8798 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005813/0.7005, allocations: 339.3 kB / 0.8801 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.183e-06/0.7005, allocations: 0 / 0.8801 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007461/0.7012, allocations: 425 kB / 0.8805 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.7012, allocations: 4 kB / 0.8805 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.7012, allocations: 96 / 0.8805 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-06/0.7012, allocations: 8 kB / 0.8805 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.7015, allocations: 68.78 kB / 0.8806 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.7016, allocations: 3.938 kB / 0.8806 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.702, allocations: 39.8 kB / 0.8806 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.702, allocations: 12 kB / 0.8806 GB, free: 12.06 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.0001585/0.7021, allocations: 197.1 kB / 0.8808 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.7022, allocations: 63.62 kB / 0.8809 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000804/0.7031, allocations: 423 kB / 0.8813 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7031, allocations: 4 kB / 0.8813 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7031, allocations: 3.938 kB / 0.8813 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006556/0.7037, allocations: 434.5 kB / 0.8817 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.7056, allocations: 1.179 MB / 0.8829 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.7056, allocations: 3.984 kB / 0.8829 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.706, allocations: 80.08 kB / 0.8829 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.706, allocations: 8 kB / 0.8829 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.706, allocations: 12 kB / 0.883 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.706, allocations: 5.125 kB / 0.883 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.706, allocations: 4 kB / 0.883 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.7072, allocations: 0.711 MB / 0.8837 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.7074, allocations: 180.7 kB / 0.8838 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.7075, allocations: 8 kB / 0.8838 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.7079, allocations: 27.97 kB / 0.8839 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.708, allocations: 23.97 kB / 0.8839 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.708, allocations: 12 kB / 0.8839 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000437/0.7085, allocations: 370.8 kB / 0.8842 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7085, allocations: 0 / 0.8842 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008469/0.7093, allocations: 327.3 kB / 0.8846 GB, free: 7.863 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.0004441/0.7097, allocations: 201.7 kB / 0.8848 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.7107, allocations: 0.5 MB / 0.8852 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7107, allocations: 0 / 0.8852 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.7111, allocations: 176.5 kB / 0.8854 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.7126, allocations: 353.7 kB / 0.8857 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.7147, allocations: 1.303 MB / 0.887 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/0.7153, allocations: 0.9295 MB / 0.8879 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.7154, allocations: 51.42 kB / 0.888 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.7154, allocations: 8 kB / 0.888 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of Templates: time 0.01498/0.7304, allocations: 9.814 MB / 0.8976 GB, free: 10.55 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)