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.000985/0.0009851, allocations: 105.1 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.234/1.234, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7016/0.7016, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 71.89 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2813, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.1615/0.4428, allocations: 183.2 MB / 0.7462 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.273/0.7158, allocations: 4.852 MB / 0.751 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009676/0.7168, allocations: 31.44 kB / 0.751 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.718, allocations: 432.1 kB / 0.7514 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.7212, allocations: 1.416 MB / 0.7528 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.7232, allocations: 0.7712 MB / 0.7535 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002413/0.7256, allocations: 1.841 MB / 0.7553 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.7266, allocations: 0.5914 MB / 0.7559 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.7286, allocations: 0.8696 MB / 0.7568 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.73, allocations: 0.5357 MB / 0.7573 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.7303, allocations: 60.22 kB / 0.7573 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.7331, allocations: 1.417 MB / 0.7587 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003959/0.7335, allocations: 261.6 kB / 0.759 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008214/0.7343, allocations: 400.8 kB / 0.7594 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.7372, allocations: 1.405 MB / 0.7607 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7372, allocations: 1.031 kB / 0.7607 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7372, allocations: 1 kB / 0.7607 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.134e-05/0.7373, allocations: 0 / 0.7607 GB, free: 1.578 MB / 0.5762 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.002708/0.74, allocations: 1.101 MB / 0.7618 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.74, allocations: 11 kB / 0.7618 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.7402, allocations: 90.02 kB / 0.7619 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.7417, allocations: 207.2 kB / 0.7621 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.7427, allocations: 0.5839 MB / 0.7627 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.7428, allocations: 40.33 kB / 0.7627 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.668e-05/0.7429, allocations: 45.31 kB / 0.7627 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009058/0.7438, allocations: 0.495 MB / 0.7632 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.7438, allocations: 0.9375 kB / 0.7632 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.7439, allocations: 16.69 kB / 0.7632 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.7439, allocations: 19.84 kB / 0.7633 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007975/0.7447, allocations: 438.8 kB / 0.7637 GB, free: 16.5 MB / 0.5919 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.002752/0.7475, allocations: 2.02 MB / 0.7657 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.7481, allocations: 350.6 kB / 0.766 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.7484, allocations: 209.2 kB / 0.7662 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.7487, allocations: 201.2 kB / 0.7664 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.7487, allocations: 38.25 kB / 0.7664 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.7487, allocations: 0 / 0.7664 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001206/0.7499, allocations: 0.5477 MB / 0.767 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.75, allocations: 59.27 kB / 0.767 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.7506, allocations: 0.5038 MB / 0.7675 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.7506, allocations: 36.02 kB / 0.7675 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.7508, allocations: 300.8 kB / 0.7678 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.637e-05/0.7509, allocations: 119.5 kB / 0.7679 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.751, allocations: 71.31 kB / 0.768 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7512, allocations: 365.3 kB / 0.7684 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.7514, allocations: 145.6 kB / 0.7685 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.7517, allocations: 215.4 kB / 0.7687 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.7523, allocations: 336.5 kB / 0.769 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.7523, allocations: 4.781 kB / 0.769 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007548/0.7531, allocations: 433.7 kB / 0.7694 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.7531, allocations: 10.88 kB / 0.7694 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7531, allocations: 1.156 kB / 0.7694 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.7531, allocations: 3.188 kB / 0.7695 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.7535, allocations: 75.52 kB / 0.7695 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7535, allocations: 3.156 kB / 0.7695 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.754, allocations: 40.23 kB / 0.7696 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.7541, allocations: 13.53 kB / 0.7696 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004993/0.7546, allocations: 306.1 kB / 0.7699 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003388/0.755, allocations: 208.6 kB / 0.7701 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000573/0.7555, allocations: 329.6 kB / 0.7704 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.7555, allocations: 2.094 kB / 0.7704 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007971/0.7564, allocations: 427 kB / 0.7708 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.7564, allocations: 6 kB / 0.7708 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.7564, allocations: 0.9062 kB / 0.7708 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.7564, allocations: 7.812 kB / 0.7708 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.7567, allocations: 69.53 kB / 0.7709 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.7567, allocations: 10.06 kB / 0.7709 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.7573, allocations: 30.3 kB / 0.7709 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.7573, allocations: 12.44 kB / 0.7709 GB, free: 13.98 MB / 0.5919 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.0001563/0.7575, allocations: 197.9 kB / 0.7711 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.7576, allocations: 69.44 kB / 0.7712 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007499/0.7584, allocations: 425.3 kB / 0.7716 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.7584, allocations: 4.594 kB / 0.7716 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7584, allocations: 0 / 0.7716 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005626/0.759, allocations: 431.1 kB / 0.772 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.7605, allocations: 1.178 MB / 0.7732 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7605, allocations: 2.625 kB / 0.7732 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.7609, allocations: 86.52 kB / 0.7732 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.7609, allocations: 3.688 kB / 0.7732 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.7609, allocations: 7.781 kB / 0.7732 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7609, allocations: 3.719 kB / 0.7732 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7609, allocations: 6.531 kB / 0.7733 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.7618, allocations: 0.7082 MB / 0.7739 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.7621, allocations: 174.4 kB / 0.7741 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.7622, allocations: 13.91 kB / 0.7741 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.7626, allocations: 24.33 kB / 0.7742 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.7627, allocations: 27.23 kB / 0.7742 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.7627, allocations: 18.53 kB / 0.7742 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003398/0.7631, allocations: 363.6 kB / 0.7745 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7631, allocations: 1.125 kB / 0.7745 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000878/0.764, allocations: 320.4 kB / 0.7748 GB, free: 12.7 MB / 0.5919 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.001439/0.7654, allocations: 1.336 MB / 0.7762 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009061/0.7664, allocations: 0.5458 MB / 0.7767 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7664, allocations: 4.25 kB / 0.7767 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.7666, allocations: 179.8 kB / 0.7769 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.7682, allocations: 360.7 kB / 0.7772 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/0.7737, allocations: 4.752 MB / 0.7818 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.7741, allocations: 0.9286 MB / 0.7828 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006382/0.7748, allocations: 187.1 kB / 0.7829 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.775, allocations: 221.5 kB / 0.7831 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.775, allocations: 0.8438 kB / 0.7831 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.575/2.35, allocations: 16.7 MB / 0.7995 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/12.52, allocations: 11.78 kB / 0.7995 GB, free: 5.789 MB / 0.5919 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)