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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.001607/0.001607, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001784/0.001784, allocations: 191 kB / 17.2 MB, free: 5.953 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9268/0.9268, allocations: 143.3 MB / 434.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 63.88 kB / 0.5151 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3492, allocations: 82.04 MB / 0.5952 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.5196/0.8688, allocations: 183.3 MB / 0.7742 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006911/0.8758, allocations: 4.888 MB / 0.779 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.877, allocations: 32.41 kB / 0.779 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.8783, allocations: 442.7 kB / 0.7794 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.8818, allocations: 1.405 MB / 0.7808 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.8838, allocations: 0.7659 MB / 0.7815 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002094/0.8859, allocations: 1.849 MB / 0.7833 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007916/0.8867, allocations: 0.5974 MB / 0.7839 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.8884, allocations: 0.8663 MB / 0.7848 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.8895, allocations: 0.543 MB / 0.7853 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.8896, allocations: 60.88 kB / 0.7854 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.8921, allocations: 1.411 MB / 0.7867 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.8923, allocations: 267.2 kB / 0.787 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.8927, allocations: 398.6 kB / 0.7874 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.8947, allocations: 1.453 MB / 0.7888 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.8947, allocations: 0.75 kB / 0.7888 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8947, allocations: 0 / 0.7888 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.8947, allocations: 1.906 kB / 0.7888 GB, free: 1.207 MB / 0.5762 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.001715/0.8964, allocations: 1.105 MB / 0.7899 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.8965, allocations: 10.27 kB / 0.7899 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.8977, allocations: 203.6 kB / 0.7901 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008161/0.8986, allocations: 0.5805 MB / 0.7906 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.8986, allocations: 54.28 kB / 0.7907 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/0.8987, allocations: 43.56 kB / 0.7907 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007923/0.8995, allocations: 0.4906 MB / 0.7912 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.8995, allocations: 0 / 0.7912 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.8996, allocations: 25.19 kB / 0.7912 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.8996, allocations: 17.03 kB / 0.7913 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.9003, allocations: 432.9 kB / 0.7917 GB, free: 16.15 MB / 0.5919 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.002484/0.9028, allocations: 2.019 MB / 0.7936 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.9034, allocations: 348.9 kB / 0.794 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.9037, allocations: 206.2 kB / 0.7942 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003191/0.904, allocations: 205.9 kB / 0.7944 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.9041, allocations: 38.5 kB / 0.7944 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/0.9041, allocations: 0 / 0.7944 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001186/0.9053, allocations: 0.5513 MB / 0.7949 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.9053, allocations: 55.81 kB / 0.795 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.9059, allocations: 0.5053 MB / 0.7955 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.9059, allocations: 36.7 kB / 0.7955 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.9061, allocations: 303 kB / 0.7958 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.9062, allocations: 117.8 kB / 0.7959 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.9063, allocations: 65.52 kB / 0.796 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.9065, allocations: 366.3 kB / 0.7963 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.9068, allocations: 144.9 kB / 0.7965 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.9071, allocations: 214.9 kB / 0.7967 GB, free: 14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.9076, allocations: 336.8 kB / 0.797 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9076, allocations: 0 / 0.797 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006679/0.9083, allocations: 437.2 kB / 0.7974 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9083, allocations: 6.5 kB / 0.7974 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.9083, allocations: 0 / 0.7974 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.9083, allocations: 10.39 kB / 0.7974 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.9087, allocations: 71.02 kB / 0.7975 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.9087, allocations: 10.72 kB / 0.7975 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.9091, allocations: 38.78 kB / 0.7975 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.9092, allocations: 15.17 kB / 0.7976 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004164/0.9096, allocations: 307 kB / 0.7979 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000298/0.9099, allocations: 212.4 kB / 0.7981 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004862/0.9104, allocations: 337.8 kB / 0.7984 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.9104, allocations: 0 / 0.7984 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006332/0.9111, allocations: 421.7 kB / 0.7988 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.9111, allocations: 8.281 kB / 0.7988 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.9111, allocations: 0.9375 kB / 0.7988 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.9111, allocations: 3.031 kB / 0.7988 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.9114, allocations: 69.95 kB / 0.7989 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.9114, allocations: 5.047 kB / 0.7989 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.9119, allocations: 34.86 kB / 0.7989 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.9119, allocations: 9.406 kB / 0.7989 GB, free: 13.6 MB / 0.5919 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.0001732/0.9121, allocations: 204.5 kB / 0.7991 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.9122, allocations: 65.62 kB / 0.7992 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000718/0.9129, allocations: 417.9 kB / 0.7996 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.9129, allocations: 5.344 kB / 0.7996 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.913, allocations: 7.828 kB / 0.7996 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005598/0.9135, allocations: 429.6 kB / 0.8 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.9152, allocations: 1.179 MB / 0.8011 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.9152, allocations: 4.344 kB / 0.8011 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.9156, allocations: 85.72 kB / 0.8012 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.9156, allocations: 2.281 kB / 0.8012 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.9157, allocations: 9.344 kB / 0.8012 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.9157, allocations: 3.406 kB / 0.8012 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9157, allocations: 0 / 0.8012 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.9167, allocations: 0.7051 MB / 0.8019 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/0.917, allocations: 182 kB / 0.8021 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.917, allocations: 9.594 kB / 0.8021 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.9175, allocations: 21.34 kB / 0.8021 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.9176, allocations: 37.8 kB / 0.8022 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.9176, allocations: 16.53 kB / 0.8022 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003903/0.918, allocations: 363.4 kB / 0.8025 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.918, allocations: 0.9688 kB / 0.8025 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008833/0.9189, allocations: 315.7 kB / 0.8028 GB, free: 12.32 MB / 0.5919 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.0005198/0.9194, allocations: 205.6 kB / 0.803 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.9205, allocations: 0.5531 MB / 0.8036 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9205, allocations: 0 / 0.8036 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.9208, allocations: 184.7 kB / 0.8037 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.9224, allocations: 348.7 kB / 0.8041 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.9244, allocations: 1.303 MB / 0.8053 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.9249, allocations: 0.9282 MB / 0.8063 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.9251, allocations: 47.41 kB / 0.8063 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.9251, allocations: 0 / 0.8063 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.0143/0.9394, allocations: 9.707 MB / 0.8158 GB, free: 8.453 MB / 0.5919 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)