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.0008621/0.0008621, allocations: 97.36 kB / 15.69 MB, free: 488 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.0008508/0.0008508, allocations: 174.2 kB / 16.57 MB, free: 6.387 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.227/1.227, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6189/0.6189, allocations: 113.7 MB / 405.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 9.469 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.3396/0.4655, allocations: 152.5 MB / 0.7057 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006015/0.4715, allocations: 4.779 MB / 0.7103 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.4719, allocations: 27.81 kB / 0.7104 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009361/0.4729, allocations: 446 kB / 0.7108 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.4755, allocations: 1.387 MB / 0.7121 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.4773, allocations: 0.8704 MB / 0.713 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.4785, allocations: 1.086 MB / 0.7141 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005132/0.479, allocations: 452.8 kB / 0.7145 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008517/0.4799, allocations: 0.5995 MB / 0.7151 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.4803, allocations: 342.6 kB / 0.7154 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.4804, allocations: 24 kB / 0.7154 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.4816, allocations: 0.6903 MB / 0.7161 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.4818, allocations: 211.4 kB / 0.7163 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.4819, allocations: 169.3 kB / 0.7165 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007867/0.4827, allocations: 0.8776 MB / 0.7173 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.4827, allocations: 0 / 0.7173 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4827, allocations: 0 / 0.7173 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.4827, allocations: 0 / 0.7173 GB, free: 5.672 MB / 0.5294 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.001206/0.4839, allocations: 0.9546 MB / 0.7182 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.484, allocations: 8.031 kB / 0.7183 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.633e-05/0.4841, allocations: 90.52 kB / 0.7183 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.4852, allocations: 206.9 kB / 0.7185 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.486, allocations: 0.5541 MB / 0.7191 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.486, allocations: 37 kB / 0.7191 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.4861, allocations: 51.94 kB / 0.7192 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.4868, allocations: 0.4906 MB / 0.7196 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4868, allocations: 4 kB / 0.7196 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.4869, allocations: 20.83 kB / 0.7197 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.4869, allocations: 17 kB / 0.7197 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/0.4876, allocations: 447.6 kB / 0.7201 GB, free: 2.711 MB / 0.5294 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.002181/0.4898, allocations: 2.013 MB / 0.7221 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.4903, allocations: 355.5 kB / 0.7224 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.4904, allocations: 8.281 kB / 0.7224 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4904, allocations: 42.78 kB / 0.7225 GB, free: 104 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.4904, allocations: 4 kB / 0.7225 GB, free: 100 kB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001067/0.4915, allocations: 0.5494 MB / 0.723 GB, free: 15.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.4915, allocations: 55.41 kB / 0.7231 GB, free: 15.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.492, allocations: 0.5107 MB / 0.7236 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.492, allocations: 33.7 kB / 0.7236 GB, free: 14.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.4922, allocations: 304.2 kB / 0.7239 GB, free: 14.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.4923, allocations: 118.3 kB / 0.724 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.4923, allocations: 4 kB / 0.724 GB, free: 14.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4924, allocations: 374.7 kB / 0.7243 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.4927, allocations: 136.6 kB / 0.7245 GB, free: 13.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.493, allocations: 216.7 kB / 0.7247 GB, free: 13.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.4932, allocations: 163.8 kB / 0.7248 GB, free: 13.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4932, allocations: 0 / 0.7248 GB, free: 13.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006155/0.4939, allocations: 433.5 kB / 0.7253 GB, free: 13.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.494, allocations: 364.6 kB / 0.7256 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.494, allocations: 4.062 kB / 0.7256 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.494, allocations: 4 kB / 0.7256 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.4943, allocations: 71.91 kB / 0.7257 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4943, allocations: 11.92 kB / 0.7257 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.4948, allocations: 67.64 kB / 0.7258 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.4948, allocations: 16 kB / 0.7258 GB, free: 12.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-06/0.4949, allocations: 4 kB / 0.7258 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005414/0.4954, allocations: 353.2 kB / 0.7261 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.4954, allocations: 4 kB / 0.7261 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-06/0.4954, allocations: 0 / 0.7261 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.4957, allocations: 76 kB / 0.7262 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4957, allocations: 7.984 kB / 0.7262 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.4962, allocations: 67.59 kB / 0.7263 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.4962, allocations: 16 kB / 0.7263 GB, free: 12.09 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.4964, allocations: 285 kB / 0.7265 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.4965, allocations: 55.34 kB / 0.7266 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006647/0.4972, allocations: 440 kB / 0.727 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4972, allocations: 4 kB / 0.727 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4972, allocations: 7.922 kB / 0.727 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005299/0.4977, allocations: 448.2 kB / 0.7275 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.4993, allocations: 1.176 MB / 0.7286 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4993, allocations: 4 kB / 0.7286 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.4997, allocations: 83.88 kB / 0.7287 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4997, allocations: 7.953 kB / 0.7287 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.4997, allocations: 16.19 kB / 0.7287 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.4997, allocations: 4 kB / 0.7287 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4997, allocations: 3.938 kB / 0.7287 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/0.5007, allocations: 0.788 MB / 0.7295 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.5009, allocations: 180.3 kB / 0.7297 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.501, allocations: 15.95 kB / 0.7297 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.5014, allocations: 52.91 kB / 0.7297 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.5015, allocations: 19.97 kB / 0.7297 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.5015, allocations: 12 kB / 0.7298 GB, free: 8.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003226/0.5018, allocations: 362.8 kB / 0.7301 GB, free: 7.957 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.052e-06/0.5018, allocations: 4 kB / 0.7301 GB, free: 7.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000672/0.5025, allocations: 327.1 kB / 0.7304 GB, free: 7.633 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001446/0.504, allocations: 1.837 MB / 0.7322 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008209/0.5048, allocations: 0.5237 MB / 0.7327 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5048, allocations: 0 / 0.7327 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.5051, allocations: 188.3 kB / 0.7329 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.5067, allocations: 368.9 kB / 0.7333 GB, free: 4.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.511, allocations: 3.981 MB / 0.7371 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.5115, allocations: 0.949 MB / 0.7381 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005349/0.512, allocations: 188.8 kB / 0.7383 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.5122, allocations: 219.4 kB / 0.7385 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.5123, allocations: 0 / 0.7385 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.472/3.984, allocations: 16.63 MB / 0.7547 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/3.985, allocations: 202.3 kB / 0.7549 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/6.258, allocations: 0 / 0.7549 GB, free: 14.66 MB / 0.5762 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/linux/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) Environment - environmentSimulation: