Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001491/0.001491, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001787/0.001787, allocations: 216.2 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.00238/0.00238, allocations: 287.3 kB / 312.7 MB, free: 2.629 MB / 238.1 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 1.172/1.172, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.1 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.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 101.5 kB / 0.7395 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1545, allocations: 95.38 MB / 0.8327 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5899/0.7443, allocations: 165.4 MB / 0.9942 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.7581, allocations: 11.98 MB / 1.006 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.7593, allocations: 47 kB / 1.006 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.7605, allocations: 406.8 kB / 1.006 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.7627, allocations: 0.9658 MB / 1.007 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.7646, allocations: 0.7263 MB / 1.008 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.7665, allocations: 1.523 MB / 1.009 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006475/0.7672, allocations: 0.4916 MB / 1.01 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.7707, allocations: 1.762 MB / 1.012 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.7719, allocations: 0.5179 MB / 1.012 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.637e-05/0.772, allocations: 52.66 kB / 1.012 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.7733, allocations: 0.7315 MB / 1.013 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.7736, allocations: 286.3 kB / 1.013 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.7739, allocations: 312.3 kB / 1.014 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.7753, allocations: 1.157 MB / 1.015 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7753, allocations: 0 / 1.015 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7753, allocations: 0.9688 kB / 1.015 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.7753, allocations: 0 / 1.015 GB, free: 3.203 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001352/0.7767, allocations: 1.005 MB / 1.016 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.7767, allocations: 11.25 kB / 1.016 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.7768, allocations: 107 kB / 1.016 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000792/0.7776, allocations: 191.5 kB / 1.016 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007533/0.7784, allocations: 0.4919 MB / 1.016 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.7784, allocations: 43.69 kB / 1.016 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.7785, allocations: 58.56 kB / 1.016 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008858/0.7794, allocations: 0.8004 MB / 1.017 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.7794, allocations: 8.625 kB / 1.017 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.7794, allocations: 31.12 kB / 1.017 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.7795, allocations: 21.5 kB / 1.017 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007604/0.7802, allocations: 461.8 kB / 1.018 GB, free: 17.96 MB / 0.7325 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.003709/0.7839, allocations: 4.005 MB / 1.022 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.7841, allocations: 105.7 kB / 1.022 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.7841, allocations: 75.98 kB / 1.022 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.7843, allocations: 21.03 kB / 1.022 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.7843, allocations: 37.28 kB / 1.022 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.644e-06/0.7843, allocations: 0 / 1.022 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006206/0.7849, allocations: 246.3 kB / 1.022 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/0.785, allocations: 136.6 kB / 1.022 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009193/0.7859, allocations: 0.8551 MB / 1.023 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.786, allocations: 30.14 kB / 1.023 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.7862, allocations: 413.4 kB / 1.024 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.7862, allocations: 45.45 kB / 1.024 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.7863, allocations: 90.16 kB / 1.024 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7865, allocations: 325.1 kB / 1.024 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.7867, allocations: 117 kB / 1.024 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.7871, allocations: 0.506 MB / 1.025 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.7875, allocations: 438.9 kB / 1.025 GB, free: 13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7875, allocations: 3.281 kB / 1.025 GB, free: 13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007762/0.7883, allocations: 0.5011 MB / 1.025 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.7883, allocations: 5.531 kB / 1.025 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.7883, allocations: 9.5 kB / 1.026 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.7884, allocations: 10.5 kB / 1.026 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.7886, allocations: 93.03 kB / 1.026 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.7887, allocations: 19.88 kB / 1.026 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.7893, allocations: 120.2 kB / 1.026 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.7893, allocations: 21.12 kB / 1.026 GB, free: 12.88 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002431/0.7895, allocations: 236.8 kB / 1.026 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.7897, allocations: 76.17 kB / 1.026 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.532e-05/0.7897, allocations: 68.05 kB / 1.026 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7897, allocations: 3.219 kB / 1.026 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7897, allocations: 3.625 kB / 1.026 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.7898, allocations: 5.062 kB / 1.026 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.7909, allocations: 1.04 MB / 1.027 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7909, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.791, allocations: 20.64 kB / 1.027 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.791, allocations: 2.656 kB / 1.027 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.791, allocations: 6.531 kB / 1.027 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.791, allocations: 5.844 kB / 1.027 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.791, allocations: 5.344 kB / 1.027 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.7912, allocations: 271.8 kB / 1.027 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.7914, allocations: 97.58 kB / 1.028 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.734e-05/0.7915, allocations: 13.14 kB / 1.028 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.7918, allocations: 15.09 kB / 1.028 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.7918, allocations: 15.28 kB / 1.028 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.7918, allocations: 4.531 kB / 1.028 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006352/0.7924, allocations: 0.5874 MB / 1.028 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7924, allocations: 4.781 kB / 1.028 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004869/0.7929, allocations: 160.6 kB / 1.028 GB, free: 11.73 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0007817/0.7937, allocations: 0.8738 MB / 1.029 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.7941, allocations: 234.3 kB / 1.029 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7941, allocations: 0 / 1.029 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.7942, allocations: 49.69 kB / 1.029 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.7955, allocations: 387 kB / 1.03 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/0.8015, allocations: 5.468 MB / 1.035 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.8018, allocations: 341.6 kB / 1.035 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004328/0.8022, allocations: 155.8 kB / 1.036 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.8024, allocations: 232.3 kB / 1.036 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.8024, allocations: 0.9375 kB / 1.036 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05203/0.8545, allocations: 20.09 MB / 1.055 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12, allocations: 3.984 kB / 1.055 GB, free: 3.438 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.012041375041008] Failed to read output from testmodel.py, exit status != 0: 12.110385321080685 12.12346713 11.345334194 Calling exit ...