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.0007131/0.000713, allocations: 92.95 kB / 16.02 MB, free: 84 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.0007538/0.0007538, allocations: 182.9 kB / 16.92 MB, free: 6.934 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.246/1.246, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6603/0.6603, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.000275, allocations: 8 kB / 495.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 77.53 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.3861/0.5068, allocations: 178.6 MB / 0.7344 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006948/0.5138, allocations: 4.886 MB / 0.7392 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005239/0.5143, allocations: 27.81 kB / 0.7392 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009198/0.5152, allocations: 366 kB / 0.7396 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.518, allocations: 1.327 MB / 0.7409 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.5195, allocations: 0.7038 MB / 0.7416 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.5217, allocations: 2.526 MB / 0.744 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.5223, allocations: 0.4938 MB / 0.7445 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.5235, allocations: 0.7624 MB / 0.7453 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009469/0.5245, allocations: 0.543 MB / 0.7458 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.5245, allocations: 24 kB / 0.7458 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.5267, allocations: 1.609 MB / 0.7474 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.5269, allocations: 227.2 kB / 0.7476 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.5273, allocations: 383.8 kB / 0.748 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.5288, allocations: 1.445 MB / 0.7494 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5288, allocations: 0 / 0.7494 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5288, allocations: 3.938 kB / 0.7494 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.5288, allocations: 0 / 0.7494 GB, free: 4.734 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.001348/0.5302, allocations: 0.9702 MB / 0.7503 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5302, allocations: 12.03 kB / 0.7503 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.581e-05/0.5303, allocations: 83.03 kB / 0.7504 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.5315, allocations: 218.8 kB / 0.7506 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007928/0.5323, allocations: 0.5809 MB / 0.7512 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.5324, allocations: 37 kB / 0.7512 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.5324, allocations: 48.69 kB / 0.7513 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.5333, allocations: 0.4945 MB / 0.7518 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5333, allocations: 0 / 0.7518 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.5333, allocations: 20 kB / 0.7518 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.5334, allocations: 17 kB / 0.7518 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.5342, allocations: 459.6 kB / 0.7522 GB, free: 1.707 MB / 0.5606 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.002407/0.5366, allocations: 2.009 MB / 0.7542 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.5372, allocations: 356.2 kB / 0.7545 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.5375, allocations: 214.9 kB / 0.7547 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.5378, allocations: 198.5 kB / 0.7549 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5378, allocations: 34.84 kB / 0.755 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.5378, allocations: 0 / 0.755 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001164/0.539, allocations: 0.5528 MB / 0.7555 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.5391, allocations: 67.28 kB / 0.7556 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.5396, allocations: 0.5069 MB / 0.7561 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.5396, allocations: 33.7 kB / 0.7561 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.5398, allocations: 304.2 kB / 0.7564 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.374e-05/0.5399, allocations: 114.3 kB / 0.7565 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.54, allocations: 29.7 kB / 0.7565 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5401, allocations: 366.8 kB / 0.7569 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.5404, allocations: 144.6 kB / 0.757 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.5407, allocations: 216.7 kB / 0.7572 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/0.5413, allocations: 352 kB / 0.7576 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5413, allocations: 0 / 0.7576 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007048/0.542, allocations: 441.8 kB / 0.758 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.5421, allocations: 116.8 kB / 0.7581 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.5421, allocations: 7.938 kB / 0.7581 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.5421, allocations: 0 / 0.7581 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.5425, allocations: 79.95 kB / 0.7582 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.5425, allocations: 4 kB / 0.7582 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/0.543, allocations: 71.55 kB / 0.7582 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.543, allocations: 12 kB / 0.7583 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/0.5431, allocations: 4 kB / 0.7583 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006306/0.5437, allocations: 359.7 kB / 0.7586 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.5437, allocations: 7.922 kB / 0.7586 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-06/0.5437, allocations: 4 kB / 0.7586 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.544, allocations: 79.98 kB / 0.7587 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5441, allocations: 4 kB / 0.7587 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.5445, allocations: 63.64 kB / 0.7588 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.5446, allocations: 15.94 kB / 0.7588 GB, free: 10.68 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.0002377/0.5448, allocations: 293 kB / 0.759 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-05/0.5449, allocations: 55.34 kB / 0.7591 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007428/0.5457, allocations: 432.1 kB / 0.7595 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.5457, allocations: 4 kB / 0.7595 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5457, allocations: 0 / 0.7595 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006052/0.5463, allocations: 452.2 kB / 0.7599 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.548, allocations: 1.187 MB / 0.7611 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.548, allocations: 0 / 0.7611 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.5484, allocations: 87.89 kB / 0.7612 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.5484, allocations: 4 kB / 0.7612 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.5484, allocations: 8 kB / 0.7612 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.5484, allocations: 12.12 kB / 0.7612 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5484, allocations: 0 / 0.7612 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009949/0.5494, allocations: 0.715 MB / 0.7619 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.5496, allocations: 176.4 kB / 0.7621 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.5497, allocations: 12 kB / 0.7621 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/0.5502, allocations: 55.8 kB / 0.7621 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.5503, allocations: 23.97 kB / 0.7622 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.5503, allocations: 15.94 kB / 0.7622 GB, free: 7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003681/0.5507, allocations: 366.8 kB / 0.7625 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5507, allocations: 0 / 0.7625 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007218/0.5514, allocations: 319.2 kB / 0.7628 GB, free: 6.332 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.001499/0.553, allocations: 1.363 MB / 0.7642 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009155/0.5539, allocations: 0.523 MB / 0.7647 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5539, allocations: 4 kB / 0.7647 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.5542, allocations: 189 kB / 0.7649 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.5562, allocations: 364.3 kB / 0.7652 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005945/0.5621, allocations: 5.062 MB / 0.7702 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.5626, allocations: 0.9373 MB / 0.7711 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005728/0.5632, allocations: 188.7 kB / 0.7712 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.5634, allocations: 215.4 kB / 0.7715 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.5635, allocations: 0 / 0.7715 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05638/0.6198, allocations: 16.09 MB / 0.7872 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.6201, allocations: 222.4 kB / 0.7874 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.604, allocations: 3.938 kB / 0.7874 GB, free: 13.27 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)