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.001917/0.001917, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.001963/0.001963, allocations: 192 kB / 17.34 MB, free: 5.727 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8339/0.8339, allocations: 126.7 MB / 417.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.66 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1286, allocations: 78.87 MB / 0.6505 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.4678/0.5965, allocations: 183.3 MB / 0.8295 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00775/0.6043, allocations: 4.854 MB / 0.8343 GB, free: 420 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006967/0.605, allocations: 32.28 kB / 0.8343 GB, free: 408 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.6061, allocations: 436.5 kB / 0.8347 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003234/0.6094, allocations: 1.413 MB / 0.8361 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.6113, allocations: 0.7783 MB / 0.8368 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.6134, allocations: 1.834 MB / 0.8386 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/0.6142, allocations: 0.6073 MB / 0.8392 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.6162, allocations: 1.067 MB / 0.8403 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.6173, allocations: 0.5304 MB / 0.8408 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-05/0.6174, allocations: 57.84 kB / 0.8408 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.6199, allocations: 1.413 MB / 0.8422 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.6202, allocations: 262.3 kB / 0.8425 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.6207, allocations: 402 kB / 0.8429 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.6229, allocations: 1.421 MB / 0.8442 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6229, allocations: 0 / 0.8442 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.623, allocations: 0 / 0.8442 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.623, allocations: 0 / 0.8442 GB, free: 9.855 MB / 0.6075 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.00179/0.6248, allocations: 1.134 MB / 0.8454 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.6248, allocations: 14.28 kB / 0.8454 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.6249, allocations: 87.52 kB / 0.8455 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.6262, allocations: 214.4 kB / 0.8457 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.6273, allocations: 0.6171 MB / 0.8463 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.6273, allocations: 33.44 kB / 0.8463 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.6274, allocations: 52.86 kB / 0.8463 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008811/0.6283, allocations: 0.4904 MB / 0.8468 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.6283, allocations: 0 / 0.8468 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.6284, allocations: 21.34 kB / 0.8468 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.6284, allocations: 20.06 kB / 0.8469 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007973/0.6292, allocations: 434.6 kB / 0.8473 GB, free: 7.707 MB / 0.6075 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.002771/0.632, allocations: 2.094 MB / 0.8493 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.6326, allocations: 344.2 kB / 0.8496 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.633, allocations: 212.8 kB / 0.8499 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.6333, allocations: 192.1 kB / 0.85 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.6333, allocations: 37.59 kB / 0.8501 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.6333, allocations: 0 / 0.8501 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001252/0.6346, allocations: 0.5542 MB / 0.8506 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.6346, allocations: 53.5 kB / 0.8507 GB, free: 5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.6352, allocations: 0.506 MB / 0.8512 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.6353, allocations: 35.98 kB / 0.8512 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.6355, allocations: 303.8 kB / 0.8515 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.6356, allocations: 129.5 kB / 0.8516 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.6358, allocations: 62.97 kB / 0.8517 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.636, allocations: 370.2 kB / 0.852 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.6363, allocations: 141.4 kB / 0.8522 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.6366, allocations: 220 kB / 0.8524 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.6372, allocations: 335.1 kB / 0.8527 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6372, allocations: 6.906 kB / 0.8527 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007535/0.638, allocations: 424.9 kB / 0.8531 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.638, allocations: 4.625 kB / 0.8531 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.638, allocations: 3.5 kB / 0.8531 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6381, allocations: 6.906 kB / 0.8531 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.6384, allocations: 75.08 kB / 0.8532 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6384, allocations: 0 / 0.8532 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.6389, allocations: 42.83 kB / 0.8532 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.6389, allocations: 11.28 kB / 0.8532 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004727/0.6394, allocations: 312.5 kB / 0.8535 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003598/0.6398, allocations: 215.3 kB / 0.8537 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006281/0.6404, allocations: 335.3 kB / 0.8541 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.6404, allocations: 0 / 0.8541 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007894/0.6412, allocations: 428.8 kB / 0.8545 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6413, allocations: 11.94 kB / 0.8545 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.6413, allocations: 3.984 kB / 0.8545 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/0.6413, allocations: 4 kB / 0.8545 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.6416, allocations: 67.84 kB / 0.8545 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6416, allocations: 4.938 kB / 0.8546 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.6421, allocations: 39.77 kB / 0.8546 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.6421, allocations: 16.08 kB / 0.8546 GB, free: 1.789 MB / 0.6075 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.0001525/0.6423, allocations: 200.2 kB / 0.8548 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.6424, allocations: 59.62 kB / 0.8549 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008555/0.6433, allocations: 429 kB / 0.8553 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6433, allocations: 4 kB / 0.8553 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6433, allocations: 0 / 0.8553 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007039/0.644, allocations: 433.7 kB / 0.8557 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.6459, allocations: 1.171 MB / 0.8568 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/0.646, allocations: 7.984 kB / 0.8568 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.6464, allocations: 79.89 kB / 0.8569 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.6464, allocations: 7.984 kB / 0.8569 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.6465, allocations: 12 kB / 0.8569 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.6465, allocations: 4 kB / 0.8569 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6465, allocations: 3.938 kB / 0.8569 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.6477, allocations: 0.7001 MB / 0.8576 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.6479, allocations: 184.6 kB / 0.8578 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.648, allocations: 11.98 kB / 0.8578 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.6485, allocations: 23.98 kB / 0.8578 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.6486, allocations: 27.84 kB / 0.8579 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.6486, allocations: 21.11 kB / 0.8579 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000445/0.6491, allocations: 362.8 kB / 0.8582 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6491, allocations: 0 / 0.8582 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008301/0.6499, allocations: 327.4 kB / 0.8585 GB, free: 13.6 MB / 0.6231 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.001791/0.6517, allocations: 1.336 MB / 0.8598 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.6528, allocations: 0.5119 MB / 0.8603 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6528, allocations: 4 kB / 0.8603 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.6531, allocations: 183.7 kB / 0.8605 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.6549, allocations: 352.5 kB / 0.8609 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/0.6615, allocations: 4.674 MB / 0.8654 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.6621, allocations: 0.9334 MB / 0.8663 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005442/0.6627, allocations: 180.8 kB / 0.8665 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.663, allocations: 215.4 kB / 0.8667 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.663, allocations: 0 / 0.8667 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.7061, allocations: 16.83 MB / 0.8831 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.625/9.331, allocations: 5.781 kB / 0.8831 GB, free: 4.434 MB / 0.6387 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)