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.0008903/0.0008904, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001166/0.001166, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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 1.038/1.038, allocations: 143.4 MB / 434.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 8 kB / 0.5166 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1605, allocations: 83.41 MB / 0.5981 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.4548/0.6154, allocations: 178.7 MB / 0.7726 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008065/0.6235, allocations: 4.888 MB / 0.7773 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008455/0.6244, allocations: 27.81 kB / 0.7774 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.6254, allocations: 362.1 kB / 0.7777 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.6297, allocations: 1.331 MB / 0.779 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.632, allocations: 0.6982 MB / 0.7797 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003044/0.635, allocations: 2.536 MB / 0.7822 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007981/0.6358, allocations: 0.4906 MB / 0.7826 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.6375, allocations: 0.7546 MB / 0.7834 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.6386, allocations: 0.557 MB / 0.7839 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.768e-05/0.6387, allocations: 24 kB / 0.7839 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/0.6415, allocations: 1.605 MB / 0.7855 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.6418, allocations: 227.2 kB / 0.7857 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.6422, allocations: 383.8 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.6443, allocations: 1.487 MB / 0.7875 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.6443, allocations: 4 kB / 0.7875 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6443, allocations: 3.938 kB / 0.7876 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.6443, allocations: 0 / 0.7876 GB, free: 9.613 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.001532/0.6459, allocations: 0.9692 MB / 0.7885 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.6459, allocations: 8.031 kB / 0.7885 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.6472, allocations: 210.8 kB / 0.7887 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000838/0.648, allocations: 0.5849 MB / 0.7893 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.6481, allocations: 37.88 kB / 0.7893 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.6482, allocations: 48 kB / 0.7894 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008918/0.6491, allocations: 0.4906 MB / 0.7898 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.6491, allocations: 0 / 0.7898 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.6492, allocations: 27.98 kB / 0.7899 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.6492, allocations: 13 kB / 0.7899 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.65, allocations: 455.7 kB / 0.7903 GB, free: 6.691 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.002641/0.6527, allocations: 2.013 MB / 0.7923 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.6533, allocations: 351.5 kB / 0.7926 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.6537, allocations: 218.9 kB / 0.7928 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/0.654, allocations: 198.5 kB / 0.793 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.6541, allocations: 31.47 kB / 0.793 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.6541, allocations: 0 / 0.793 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001264/0.6553, allocations: 0.5567 MB / 0.7936 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.6554, allocations: 59.34 kB / 0.7936 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.656, allocations: 0.5069 MB / 0.7941 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.656, allocations: 29.7 kB / 0.7942 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.6562, allocations: 308.1 kB / 0.7945 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.6564, allocations: 122.3 kB / 0.7946 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.6564, allocations: 33.7 kB / 0.7946 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.6566, allocations: 370.8 kB / 0.795 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.6569, allocations: 136.6 kB / 0.7951 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.6572, allocations: 216.7 kB / 0.7953 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.6579, allocations: 354.1 kB / 0.7956 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6579, allocations: 0 / 0.7956 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007692/0.6586, allocations: 448.3 kB / 0.7961 GB, free: 488 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.41e-05/0.6587, allocations: 115.5 kB / 0.7962 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.6587, allocations: 4 kB / 0.7962 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.6588, allocations: 0 / 0.7962 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.6591, allocations: 76 kB / 0.7963 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6591, allocations: 5.5 kB / 0.7963 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.6597, allocations: 71.64 kB / 0.7963 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.6598, allocations: 12.64 kB / 0.7963 GB, free: 188 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.6598, allocations: 5.25 kB / 0.7963 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006716/0.6605, allocations: 359.9 kB / 0.7967 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.6605, allocations: 0 / 0.7967 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/0.6605, allocations: 7.984 kB / 0.7967 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.6608, allocations: 67.91 kB / 0.7968 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.6608, allocations: 4 kB / 0.7968 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.6614, allocations: 67.73 kB / 0.7968 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.6614, allocations: 12 kB / 0.7968 GB, free: 15.67 MB / 0.6231 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.0002886/0.6617, allocations: 297.6 kB / 0.7971 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/0.6618, allocations: 55.34 kB / 0.7972 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007851/0.6626, allocations: 427 kB / 0.7976 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6626, allocations: 4 kB / 0.7976 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6626, allocations: 7.562 kB / 0.7976 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006297/0.6632, allocations: 453.5 kB / 0.798 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.665, allocations: 1.18 MB / 0.7992 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.665, allocations: 4.125 kB / 0.7992 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.6654, allocations: 91.89 kB / 0.7993 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.6655, allocations: 4 kB / 0.7993 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.6655, allocations: 11.98 kB / 0.7993 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.6655, allocations: 4 kB / 0.7993 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6655, allocations: 3.938 kB / 0.7993 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.6666, allocations: 0.7107 MB / 0.8 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.6668, allocations: 188.2 kB / 0.8002 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.6669, allocations: 8 kB / 0.8002 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/0.6674, allocations: 57.36 kB / 0.8002 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.6675, allocations: 23.91 kB / 0.8003 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.6675, allocations: 19.98 kB / 0.8003 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003878/0.6679, allocations: 362.8 kB / 0.8006 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6679, allocations: 4 kB / 0.8006 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008092/0.6687, allocations: 323.2 kB / 0.8009 GB, free: 11.31 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.0004461/0.6692, allocations: 186.2 kB / 0.8011 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009717/0.6702, allocations: 0.5384 MB / 0.8016 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6702, allocations: 0 / 0.8016 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.6705, allocations: 196.2 kB / 0.8018 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.6724, allocations: 362.4 kB / 0.8022 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.6746, allocations: 1.558 MB / 0.8037 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.6751, allocations: 0.9334 MB / 0.8046 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007298/0.6758, allocations: 186 kB / 0.8048 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.676, allocations: 47.44 kB / 0.8048 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.676, allocations: 0 / 0.8048 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of Templates: time 0.01966/0.6956, allocations: 11.33 MB / 0.8159 GB, free: 12.15 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)