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.001259/0.001259, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.0009975/0.0009974, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.243/1.243, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7162/0.7162, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.278, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.1668/0.4448, allocations: 183.2 MB / 0.7462 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2761/0.721, allocations: 4.857 MB / 0.751 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007865/0.7218, allocations: 31.09 kB / 0.751 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00096/0.7228, allocations: 435.3 kB / 0.7514 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.7255, allocations: 1.411 MB / 0.7528 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.7272, allocations: 0.771 MB / 0.7535 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001832/0.729, allocations: 1.847 MB / 0.7553 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008009/0.7298, allocations: 0.5926 MB / 0.7559 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.7313, allocations: 0.8687 MB / 0.7568 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.7324, allocations: 0.5416 MB / 0.7573 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.7325, allocations: 59.11 kB / 0.7573 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.7348, allocations: 1.41 MB / 0.7587 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.7351, allocations: 266.8 kB / 0.759 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004075/0.7355, allocations: 400.5 kB / 0.7594 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.7374, allocations: 1.398 MB / 0.7607 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7374, allocations: 5.188 kB / 0.7607 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7374, allocations: 0.5156 kB / 0.7607 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.7374, allocations: 1.406 kB / 0.7607 GB, free: 1.59 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.00154/0.739, allocations: 1.098 MB / 0.7618 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.739, allocations: 12.84 kB / 0.7618 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.288e-05/0.7391, allocations: 85.41 kB / 0.7619 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.7404, allocations: 213.2 kB / 0.7621 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.7411, allocations: 0.5807 MB / 0.7627 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.7412, allocations: 41.41 kB / 0.7627 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.7413, allocations: 49.12 kB / 0.7628 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.742, allocations: 0.4919 MB / 0.7632 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.7421, allocations: 0.75 kB / 0.7632 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.7421, allocations: 19.75 kB / 0.7633 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.7422, allocations: 16.91 kB / 0.7633 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.7429, allocations: 436 kB / 0.7637 GB, free: 16.52 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.00235/0.7453, allocations: 2.019 MB / 0.7657 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.7458, allocations: 352.2 kB / 0.766 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.7462, allocations: 209.4 kB / 0.7662 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.7464, allocations: 193.9 kB / 0.7664 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.7465, allocations: 41.86 kB / 0.7664 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.7465, allocations: 1.094 kB / 0.7664 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001244/0.7477, allocations: 0.5516 MB / 0.767 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.7478, allocations: 55.78 kB / 0.767 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/0.7484, allocations: 0.5064 MB / 0.7675 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.7485, allocations: 32.55 kB / 0.7675 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.7486, allocations: 309.2 kB / 0.7678 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.234e-05/0.7487, allocations: 114.5 kB / 0.7679 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.7489, allocations: 69.97 kB / 0.768 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.749, allocations: 367.8 kB / 0.7684 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.7492, allocations: 146.9 kB / 0.7685 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.7496, allocations: 219 kB / 0.7687 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/0.7501, allocations: 334.3 kB / 0.769 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7501, allocations: 0 / 0.769 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006909/0.7508, allocations: 432.4 kB / 0.7694 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.7508, allocations: 9.125 kB / 0.7694 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.7508, allocations: 4.609 kB / 0.7695 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7508, allocations: 2.219 kB / 0.7695 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.7512, allocations: 71.14 kB / 0.7695 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7512, allocations: 2.219 kB / 0.7695 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.7516, allocations: 42.69 kB / 0.7696 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.7517, allocations: 14.22 kB / 0.7696 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004052/0.7521, allocations: 311.5 kB / 0.7699 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002876/0.7524, allocations: 211.1 kB / 0.7701 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005205/0.7529, allocations: 329.5 kB / 0.7704 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.7529, allocations: 1.906 kB / 0.7704 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006945/0.7536, allocations: 423.3 kB / 0.7708 GB, free: 14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.7537, allocations: 6 kB / 0.7708 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.7537, allocations: 2.094 kB / 0.7708 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/0.7537, allocations: 7.062 kB / 0.7708 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.754, allocations: 72.64 kB / 0.7709 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.754, allocations: 2.5 kB / 0.7709 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.7544, allocations: 33.11 kB / 0.7709 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.7545, allocations: 15.53 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.0001148/0.7546, allocations: 199.5 kB / 0.7711 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.7547, allocations: 64.56 kB / 0.7712 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007257/0.7554, allocations: 415.9 kB / 0.7716 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.7554, allocations: 4.875 kB / 0.7716 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7554, allocations: 3 kB / 0.7716 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005392/0.756, allocations: 438.2 kB / 0.772 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.7574, allocations: 1.171 MB / 0.7731 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7574, allocations: 1.203 kB / 0.7731 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.7578, allocations: 91.59 kB / 0.7732 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7578, allocations: 2.781 kB / 0.7732 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.7579, allocations: 6.781 kB / 0.7732 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.7579, allocations: 5.25 kB / 0.7732 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7579, allocations: 4.875 kB / 0.7733 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008744/0.7588, allocations: 0.7066 MB / 0.7739 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.759, allocations: 176.4 kB / 0.7741 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.759, allocations: 11 kB / 0.7741 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.7595, allocations: 22.08 kB / 0.7741 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.7596, allocations: 32.84 kB / 0.7742 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.7596, allocations: 15.84 kB / 0.7742 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003139/0.7599, allocations: 366.8 kB / 0.7745 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7599, allocations: 0.9375 kB / 0.7745 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007399/0.7607, allocations: 317.1 kB / 0.7748 GB, free: 12.72 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.001395/0.7621, allocations: 1.344 MB / 0.7762 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008828/0.763, allocations: 0.5453 MB / 0.7767 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.763, allocations: 3.469 kB / 0.7767 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.7633, allocations: 177.4 kB / 0.7769 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.7648, allocations: 359.8 kB / 0.7772 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.7699, allocations: 4.751 MB / 0.7818 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.7703, allocations: 0.9344 MB / 0.7828 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005743/0.7709, allocations: 185.7 kB / 0.7829 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.7712, allocations: 221.9 kB / 0.7831 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.7712, allocations: 0 / 0.7831 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.8028, allocations: 16.71 MB / 0.7995 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/8.211, allocations: 11.22 kB / 0.7995 GB, free: 5.785 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay.fmu > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)