Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007748/0.0007748, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008306/0.0008306, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8625/0.8625, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0014/0.0014, allocations: 246.5 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6753/0.6753, allocations: 138.4 MB / 454.3 MB, free: 29.95 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.648e-05, allocations: 10.16 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.3634/0.3634, allocations: 168.1 MB / 0.8104 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005596/0.369, allocations: 5.401 MB / 0.8157 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.3695, allocations: 55.56 kB / 0.8158 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009954/0.3705, allocations: 0.5473 MB / 0.8163 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.3728, allocations: 1.721 MB / 0.818 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.3746, allocations: 1.255 MB / 0.8192 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.3764, allocations: 2.582 MB / 0.8217 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008747/0.3772, allocations: 0.7166 MB / 0.8224 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.3785, allocations: 1.379 MB / 0.8238 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.3796, allocations: 0.7751 MB / 0.8245 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3797, allocations: 104.7 kB / 0.8246 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.3812, allocations: 1.281 MB / 0.8259 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.3815, allocations: 0.522 MB / 0.8264 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.3818, allocations: 447 kB / 0.8268 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.3834, allocations: 2.15 MB / 0.8289 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3834, allocations: 3.984 kB / 0.8289 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3834, allocations: 3.844 kB / 0.8289 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.3834, allocations: 4 kB / 0.8289 GB, free: 15.98 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00138/0.3847, allocations: 1.419 MB / 0.8303 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3848, allocations: 9.938 kB / 0.8303 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.3849, allocations: 139.2 kB / 0.8305 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000984/0.3859, allocations: 338.9 kB / 0.8308 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/0.3867, allocations: 0.7479 MB / 0.8315 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.3867, allocations: 66 kB / 0.8316 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.3868, allocations: 84 kB / 0.8317 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.388, allocations: 1.468 MB / 0.8331 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.388, allocations: 4 kB / 0.8331 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.3881, allocations: 43.92 kB / 0.8331 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.3881, allocations: 37.98 kB / 0.8332 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009143/0.389, allocations: 0.8274 MB / 0.834 GB, free: 10.59 MB / 0.6667 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.002961/0.392, allocations: 3.252 MB / 0.8372 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.3924, allocations: 363.7 kB / 0.8375 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.3926, allocations: 207.6 kB / 0.8377 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.3927, allocations: 19.98 kB / 0.8377 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3927, allocations: 46.42 kB / 0.8378 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 1.352e-06/0.3927, allocations: 0 / 0.8378 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.00149/0.3942, allocations: 1.26 MB / 0.839 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.3942, allocations: 63.33 kB / 0.8391 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000822/0.395, allocations: 1.012 MB / 0.84 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3951, allocations: 37.7 kB / 0.8401 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.3953, allocations: 0.4963 MB / 0.8406 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/0.3954, allocations: 138.8 kB / 0.8407 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.3955, allocations: 122.2 kB / 0.8408 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.3956, allocations: 334 kB / 0.8411 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.3959, allocations: 233.2 kB / 0.8414 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.3962, allocations: 471.2 kB / 0.8418 GB, free: 2.289 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.3977, allocations: 1.159 MB / 0.8429 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3977, allocations: 0 / 0.8429 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008136/0.3985, allocations: 0.7699 MB / 0.8437 GB, free: 288 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3985, allocations: 4 kB / 0.8437 GB, free: 284 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3985, allocations: 11.52 kB / 0.8437 GB, free: 276 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3985, allocations: 8 kB / 0.8437 GB, free: 268 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.3988, allocations: 139.8 kB / 0.8438 GB, free: 128 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3988, allocations: 19.88 kB / 0.8439 GB, free: 108 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.3992, allocations: 56.11 kB / 0.8439 GB, free: 52 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.3992, allocations: 25.12 kB / 0.8439 GB, free: 28 kB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0002733/0.3995, allocations: 325.4 kB / 0.8443 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.3996, allocations: 107.3 kB / 0.8444 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.92e-05/0.3997, allocations: 97.03 kB / 0.8444 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3997, allocations: 8 kB / 0.8445 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.3997, allocations: 3.938 kB / 0.8445 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004266/0.4001, allocations: 0.6713 MB / 0.8451 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.4015, allocations: 1.438 MB / 0.8465 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4015, allocations: 4 kB / 0.8465 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.4017, allocations: 84.64 kB / 0.8466 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.4017, allocations: 8 kB / 0.8466 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.4018, allocations: 12 kB / 0.8466 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.4018, allocations: 7.938 kB / 0.8466 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.4018, allocations: 4 kB / 0.8466 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.4025, allocations: 0.8399 MB / 0.8475 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.4027, allocations: 163.3 kB / 0.8476 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.4027, allocations: 19.11 kB / 0.8476 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.4031, allocations: 34.61 kB / 0.8477 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.4031, allocations: 39.83 kB / 0.8477 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.4031, allocations: 23.98 kB / 0.8477 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006036/0.4037, allocations: 0.7194 MB / 0.8484 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4037, allocations: 0 / 0.8484 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004871/0.4042, allocations: 251.9 kB / 0.8487 GB, free: 10.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001038/0.4053, allocations: 1.461 MB / 0.8501 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005835/0.4058, allocations: 491.8 kB / 0.8506 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4058, allocations: 0 / 0.8506 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.406, allocations: 189.8 kB / 0.8507 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.4074, allocations: 0.6166 MB / 0.8513 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006462/0.4139, allocations: 7.562 MB / 0.8587 GB, free: 224 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.4142, allocations: 0.5117 MB / 0.8592 GB, free: 15.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004766/0.4147, allocations: 248.3 kB / 0.8595 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.415, allocations: 340.4 kB / 0.8598 GB, free: 15.09 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/0.415, allocations: 4 kB / 0.8598 GB, free: 15.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/0.4583, allocations: 30.89 MB / 0.89 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.984, allocations: 11.73 kB / 0.89 GB, free: 0.9258 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.609598468989134] Failed to read output from testmodel.py, exit status != 0: 8.080149984918535 8.089243149 7.703817881 Calling exit ...