Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4816/0.4816, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 349.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009244, allocations: 98.22 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 47.92 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3641, allocations: 70.07 MB / 0.5575 GB, free: 45.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.5208/0.8849, allocations: 181 MB / 0.7342 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008211/0.8932, allocations: 4.935 MB / 0.7391 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.8947, allocations: 25.31 kB / 0.7391 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.8959, allocations: 374.1 kB / 0.7394 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.8998, allocations: 1.326 MB / 0.7407 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.9021, allocations: 0.6925 MB / 0.7414 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003289/0.9054, allocations: 2.548 MB / 0.7439 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007702/0.9062, allocations: 0.5107 MB / 0.7444 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.908, allocations: 0.783 MB / 0.7452 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.9096, allocations: 0.5687 MB / 0.7457 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.9097, allocations: 29.97 kB / 0.7457 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.9128, allocations: 1.613 MB / 0.7473 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.9131, allocations: 234.3 kB / 0.7475 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005347/0.9137, allocations: 372.9 kB / 0.7479 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.9159, allocations: 1.471 MB / 0.7493 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.916, allocations: 0 / 0.7493 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.242e-06/0.916, allocations: 5.203 kB / 0.7493 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.916, allocations: 0 / 0.7493 GB, free: 1.012 MB / 0.5105 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.001967/0.918, allocations: 1.096 MB / 0.7504 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.918, allocations: 10.03 kB / 0.7504 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.9193, allocations: 213.4 kB / 0.7506 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/0.9202, allocations: 0.5791 MB / 0.7512 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/0.9203, allocations: 38.53 kB / 0.7512 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/0.9204, allocations: 57.19 kB / 0.7513 GB, free: 16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008139/0.9212, allocations: 0.4896 MB / 0.7518 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.9212, allocations: 0 / 0.7518 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.9213, allocations: 18.19 kB / 0.7518 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.9213, allocations: 17.5 kB / 0.7518 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007058/0.922, allocations: 438.7 kB / 0.7522 GB, free: 15.96 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.002596/0.9246, allocations: 2.004 MB / 0.7542 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.9253, allocations: 349.7 kB / 0.7545 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.9256, allocations: 212.9 kB / 0.7547 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/0.9259, allocations: 188.1 kB / 0.7549 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.926, allocations: 47.06 kB / 0.7549 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.926, allocations: 0 / 0.7549 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001237/0.9272, allocations: 0.5407 MB / 0.7555 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.9273, allocations: 57.59 kB / 0.7555 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.9278, allocations: 0.5029 MB / 0.756 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.9278, allocations: 36.64 kB / 0.756 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.928, allocations: 306.3 kB / 0.7563 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.9281, allocations: 116.9 kB / 0.7564 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.9282, allocations: 69.64 kB / 0.7565 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9284, allocations: 368 kB / 0.7569 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.9287, allocations: 143.4 kB / 0.757 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.929, allocations: 225.7 kB / 0.7572 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.9296, allocations: 340.4 kB / 0.7575 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9296, allocations: 0 / 0.7575 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006847/0.9303, allocations: 428.3 kB / 0.7579 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.9303, allocations: 6.719 kB / 0.7579 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9303, allocations: 0 / 0.7579 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.9304, allocations: 5.406 kB / 0.7579 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.9307, allocations: 74.03 kB / 0.758 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.9307, allocations: 6.094 kB / 0.758 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.9312, allocations: 68.34 kB / 0.7581 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.9313, allocations: 13.92 kB / 0.7581 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004107/0.9317, allocations: 306.9 kB / 0.7584 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002943/0.932, allocations: 221.2 kB / 0.7586 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005067/0.9325, allocations: 323.2 kB / 0.7589 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.457e-06/0.9325, allocations: 3.938 kB / 0.7589 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006453/0.9332, allocations: 431 kB / 0.7593 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.9332, allocations: 6.531 kB / 0.7593 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.9332, allocations: 0 / 0.7593 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.9332, allocations: 2.125 kB / 0.7593 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.9335, allocations: 74.27 kB / 0.7594 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.9335, allocations: 3.938 kB / 0.7594 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.9341, allocations: 71.58 kB / 0.7595 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.9341, allocations: 7.375 kB / 0.7595 GB, free: 13.33 MB / 0.5261 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.0001544/0.9342, allocations: 202.7 kB / 0.7597 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.9344, allocations: 65.77 kB / 0.7597 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007684/0.9351, allocations: 413.6 kB / 0.7601 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.9352, allocations: 2.531 kB / 0.7601 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9352, allocations: 0 / 0.7601 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006047/0.9358, allocations: 447.5 kB / 0.7606 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.9376, allocations: 1.174 MB / 0.7617 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.9376, allocations: 0 / 0.7617 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.938, allocations: 92.62 kB / 0.7618 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.938, allocations: 3.375 kB / 0.7618 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.938, allocations: 10.94 kB / 0.7618 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.938, allocations: 6.969 kB / 0.7618 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.938, allocations: 0 / 0.7618 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/0.9434, allocations: 3.668 MB / 0.7654 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.9436, allocations: 182.2 kB / 0.7656 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.9437, allocations: 12.12 kB / 0.7656 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/0.9442, allocations: 48.27 kB / 0.7656 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.9443, allocations: 29.98 kB / 0.7657 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.9443, allocations: 14.69 kB / 0.7657 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000399/0.9447, allocations: 370.7 kB / 0.766 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.9447, allocations: 0 / 0.766 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00158/0.9463, allocations: 0.507 MB / 0.7665 GB, free: 10.85 MB / 0.5261 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.0004893/0.9468, allocations: 201.4 kB / 0.7667 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.9481, allocations: 0.5214 MB / 0.7672 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.9481, allocations: 0 / 0.7672 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.9485, allocations: 176.2 kB / 0.7674 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.9505, allocations: 371.9 kB / 0.7678 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.9534, allocations: 1.747 MB / 0.7695 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.954, allocations: 0.939 MB / 0.7704 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007591/0.9547, allocations: 201.3 kB / 0.7706 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.9549, allocations: 50.75 kB / 0.7706 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/0.9549, allocations: 0 / 0.7706 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of Templates: time 0.02299/0.9779, allocations: 12.48 MB / 0.7828 GB, free: 1.293 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & ./IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)