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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.6981/0.6981, allocations: 128.7 MB / 144.5 MB, free: 1.367 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 194.3 kB / 174.3 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 408.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000958/0.0009581, allocations: 109.9 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 52.3 kB / 0.558 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1429, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay): time 0.5117/0.6546, allocations: 190.5 MB / 0.8177 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006958/0.6616, allocations: 4.974 MB / 0.8226 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007872/0.6625, allocations: 31 kB / 0.8226 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.6635, allocations: 373.5 kB / 0.823 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.6665, allocations: 1.326 MB / 0.8243 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.668, allocations: 0.6526 MB / 0.8249 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002404/0.6704, allocations: 2.694 MB / 0.8275 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006816/0.6711, allocations: 0.5109 MB / 0.828 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.6725, allocations: 0.8041 MB / 0.8288 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.6735, allocations: 0.5701 MB / 0.8294 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.488e-05/0.6736, allocations: 34.69 kB / 0.8294 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.6759, allocations: 1.609 MB / 0.831 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.6762, allocations: 247.8 kB / 0.8312 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.6765, allocations: 374.5 kB / 0.8316 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.6784, allocations: 1.524 MB / 0.8331 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6784, allocations: 2.562 kB / 0.8331 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.51e-07/0.6784, allocations: 0 / 0.8331 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.6784, allocations: 0 / 0.8331 GB, free: 3.684 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001654/0.6801, allocations: 1.098 MB / 0.8341 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.6801, allocations: 10.31 kB / 0.8341 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.6813, allocations: 201.9 kB / 0.8343 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/0.6822, allocations: 0.584 MB / 0.8349 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.6823, allocations: 37.56 kB / 0.8349 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.777e-05/0.6824, allocations: 48.69 kB / 0.835 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.6838, allocations: 0.591 MB / 0.8356 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.6838, allocations: 0 / 0.8356 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.6839, allocations: 20.91 kB / 0.8356 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.6839, allocations: 15.81 kB / 0.8356 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.6852, allocations: 0.5245 MB / 0.8361 GB, free: 1.625 MB / 0.5261 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.002515/0.6878, allocations: 2.003 MB / 0.8381 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.6889, allocations: 460.9 kB / 0.8385 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.6892, allocations: 209.8 kB / 0.8387 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.6896, allocations: 195 kB / 0.8389 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.6896, allocations: 30.84 kB / 0.8389 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 2.325e-06/0.6896, allocations: 4 kB / 0.8389 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.002403/0.692, allocations: 0.7235 MB / 0.8396 GB, free: 15 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.6921, allocations: 58.66 kB / 0.8397 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.6926, allocations: 0.498 MB / 0.8402 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.6927, allocations: 36.95 kB / 0.8402 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.6929, allocations: 303.4 kB / 0.8405 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.693, allocations: 117.4 kB / 0.8406 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.6931, allocations: 75.69 kB / 0.8407 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6933, allocations: 369.7 kB / 0.841 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.6937, allocations: 169 kB / 0.8412 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.6942, allocations: 246.4 kB / 0.8414 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.695, allocations: 390.6 kB / 0.8418 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.695, allocations: 0 / 0.8418 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009513/0.6959, allocations: 486.1 kB / 0.8423 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.696, allocations: 6.875 kB / 0.8423 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.696, allocations: 6.844 kB / 0.8423 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.696, allocations: 0 / 0.8423 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.6965, allocations: 99.16 kB / 0.8424 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.6965, allocations: 2.969 kB / 0.8424 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.6971, allocations: 79.47 kB / 0.8425 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.6972, allocations: 11.34 kB / 0.8425 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004378/0.6976, allocations: 304.5 kB / 0.8428 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002945/0.6979, allocations: 214.5 kB / 0.843 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004936/0.6984, allocations: 327.9 kB / 0.8433 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.6984, allocations: 0 / 0.8433 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006966/0.6991, allocations: 423.2 kB / 0.8437 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6992, allocations: 9.219 kB / 0.8437 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-06/0.6992, allocations: 3.938 kB / 0.8437 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-06/0.6992, allocations: 2.719 kB / 0.8437 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.6995, allocations: 70.72 kB / 0.8438 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.6995, allocations: 2.75 kB / 0.8438 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.7, allocations: 59.03 kB / 0.8438 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.7001, allocations: 14.06 kB / 0.8438 GB, free: 12.23 MB / 0.5417 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.0001639/0.7002, allocations: 205.1 kB / 0.844 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.7003, allocations: 55.38 kB / 0.8441 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.7005, allocations: 74.34 kB / 0.8442 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7006, allocations: 5.719 kB / 0.8442 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.7006, allocations: 0 / 0.8442 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/0.7017, allocations: 493 kB / 0.8446 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.7038, allocations: 1.243 MB / 0.8458 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.7039, allocations: 7.938 kB / 0.8458 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.7044, allocations: 103.9 kB / 0.8459 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.485e-06/0.7044, allocations: 4 kB / 0.846 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.7044, allocations: 11.98 kB / 0.846 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.7045, allocations: 4 kB / 0.846 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7045, allocations: 4.188 kB / 0.846 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0099/0.7144, allocations: 4.311 MB / 0.8502 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.7147, allocations: 184.2 kB / 0.8504 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.7148, allocations: 12 kB / 0.8504 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.7154, allocations: 55.94 kB / 0.8504 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.7155, allocations: 27.91 kB / 0.8504 GB, free: 5.461 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.7156, allocations: 15.98 kB / 0.8505 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004031/0.716, allocations: 354.8 kB / 0.8508 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.51e-07/0.716, allocations: 0 / 0.8508 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001659/0.7176, allocations: 0.5187 MB / 0.8513 GB, free: 4.582 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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.0004371/0.7181, allocations: 180 kB / 0.8515 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.7194, allocations: 0.5776 MB / 0.852 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7194, allocations: 0 / 0.852 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.7199, allocations: 215.9 kB / 0.8522 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.7218, allocations: 366.6 kB / 0.8526 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.7244, allocations: 1.752 MB / 0.8543 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.725, allocations: 0.9413 MB / 0.8552 GB, free: 488 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008249/0.7259, allocations: 188.9 kB / 0.8554 GB, free: 296 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.7261, allocations: 51.42 kB / 0.8555 GB, free: 244 kB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/0.7261, allocations: 0 / 0.8555 GB, free: 244 kB / 0.5417 GB Notification: Performance of Templates: time 0.02406/0.7502, allocations: 13.72 MB / 0.8689 GB, free: 2.668 MB / 0.5573 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)