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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 209.6 kB / 16.79 MB, free: 6.84 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.2/1.2, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6175/0.6175, allocations: 115.3 MB / 406 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 60.25 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1117, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.3495/0.4613, allocations: 181 MB / 0.7326 GB, free: 1.922 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006766/0.4681, allocations: 4.952 MB / 0.7374 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/0.4689, allocations: 31.81 kB / 0.7374 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.47, allocations: 362 kB / 0.7378 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.4728, allocations: 1.334 MB / 0.7391 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.4744, allocations: 0.6964 MB / 0.7398 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002295/0.4767, allocations: 2.526 MB / 0.7422 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006676/0.4774, allocations: 0.5031 MB / 0.7427 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.4788, allocations: 0.7741 MB / 0.7435 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.4798, allocations: 0.5602 MB / 0.744 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.4799, allocations: 32 kB / 0.7441 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.4821, allocations: 1.609 MB / 0.7456 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.4824, allocations: 235.3 kB / 0.7458 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.4828, allocations: 382 kB / 0.7462 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.4845, allocations: 1.453 MB / 0.7476 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4845, allocations: 4 kB / 0.7476 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4845, allocations: 0 / 0.7476 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.4845, allocations: 3.938 kB / 0.7476 GB, free: 2.445 MB / 0.5606 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.001489/0.486, allocations: 1.11 MB / 0.7487 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.486, allocations: 11.97 kB / 0.7487 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.976e-05/0.4861, allocations: 90.5 kB / 0.7488 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.4873, allocations: 210.4 kB / 0.749 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007205/0.4881, allocations: 0.581 MB / 0.7496 GB, free: 352 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.4881, allocations: 37 kB / 0.7496 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.297e-05/0.4882, allocations: 51.91 kB / 0.7497 GB, free: 264 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007875/0.489, allocations: 0.4905 MB / 0.7502 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.489, allocations: 0 / 0.7502 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.489, allocations: 24 kB / 0.7502 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.4891, allocations: 13 kB / 0.7502 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.4898, allocations: 443.7 kB / 0.7506 GB, free: 15.3 MB / 0.5762 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.002204/0.492, allocations: 1.998 MB / 0.7526 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.4926, allocations: 348.5 kB / 0.7529 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.4929, allocations: 213.2 kB / 0.7531 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.4932, allocations: 194.5 kB / 0.7533 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.4932, allocations: 34.84 kB / 0.7533 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.372e-06/0.4932, allocations: 0 / 0.7533 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.00109/0.4943, allocations: 0.5448 MB / 0.7538 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.4943, allocations: 63.34 kB / 0.7539 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.4948, allocations: 0.5069 MB / 0.7544 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.4949, allocations: 33.7 kB / 0.7544 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.495, allocations: 300.2 kB / 0.7547 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.4951, allocations: 118.3 kB / 0.7548 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.4952, allocations: 70.02 kB / 0.7549 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4954, allocations: 362.8 kB / 0.7552 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.4956, allocations: 146.1 kB / 0.7554 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.4959, allocations: 216 kB / 0.7556 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.4964, allocations: 336 kB / 0.7559 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4965, allocations: 0 / 0.7559 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006763/0.4971, allocations: 429.7 kB / 0.7563 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.4972, allocations: 14.48 kB / 0.7563 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4972, allocations: 4.094 kB / 0.7563 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.4972, allocations: 4 kB / 0.7563 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.4975, allocations: 63.91 kB / 0.7564 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4975, allocations: 7.938 kB / 0.7564 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.498, allocations: 67.64 kB / 0.7565 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.498, allocations: 8.625 kB / 0.7565 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003919/0.4984, allocations: 312 kB / 0.7568 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002784/0.4987, allocations: 215.4 kB / 0.757 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004888/0.4992, allocations: 332.5 kB / 0.7573 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.4992, allocations: 0 / 0.7573 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006272/0.4998, allocations: 426.4 kB / 0.7577 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.4999, allocations: 7.938 kB / 0.7577 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.4999, allocations: 3.984 kB / 0.7577 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/0.4999, allocations: 4 kB / 0.7577 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.5002, allocations: 67.91 kB / 0.7578 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5002, allocations: 7.938 kB / 0.7578 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.5006, allocations: 64.64 kB / 0.7579 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.5007, allocations: 12 kB / 0.7579 GB, free: 7.488 MB / 0.5762 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.0001071/0.5008, allocations: 205.7 kB / 0.7581 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.5009, allocations: 59.25 kB / 0.7581 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/0.5016, allocations: 424 kB / 0.7585 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.5016, allocations: 4 kB / 0.7585 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5016, allocations: 3.938 kB / 0.7585 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005443/0.5022, allocations: 436.3 kB / 0.759 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.5037, allocations: 1.171 MB / 0.7601 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.5037, allocations: 5.5 kB / 0.7601 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.5041, allocations: 83.89 kB / 0.7602 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.5041, allocations: 4 kB / 0.7602 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.5041, allocations: 8 kB / 0.7602 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5041, allocations: 3.984 kB / 0.7602 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5041, allocations: 4 kB / 0.7602 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009399/0.5051, allocations: 0.7036 MB / 0.7609 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.5053, allocations: 180.4 kB / 0.7611 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.5054, allocations: 12 kB / 0.7611 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.5058, allocations: 43.86 kB / 0.7611 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.5059, allocations: 27.97 kB / 0.7611 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.5059, allocations: 16.11 kB / 0.7612 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003445/0.5063, allocations: 370.7 kB / 0.7615 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5063, allocations: 0 / 0.7615 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006729/0.507, allocations: 319.2 kB / 0.7618 GB, free: 3.281 MB / 0.5762 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.001372/0.5083, allocations: 1.353 MB / 0.7631 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008557/0.5092, allocations: 0.508 MB / 0.7636 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5092, allocations: 0 / 0.7636 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.5095, allocations: 181.2 kB / 0.7638 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.5111, allocations: 366.1 kB / 0.7642 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/0.5166, allocations: 4.951 MB / 0.769 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.517, allocations: 0.9334 MB / 0.7699 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005441/0.5176, allocations: 184.8 kB / 0.7701 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.5179, allocations: 223.3 kB / 0.7703 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.5179, allocations: 0 / 0.7703 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.544, allocations: 16.24 MB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.5443, allocations: 227.4 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.396, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay.fmu > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)