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.001359/0.001359, allocations: 110 kB / 16.45 MB, free: 6.453 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.001366/0.001366, allocations: 216.2 kB / 19.43 MB, free: 3.625 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 / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002392/0.002392, allocations: 286.9 kB / 309.1 MB, free: 4.039 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.162/1.162, allocations: 180.9 MB / 0.5333 GB, free: 13.69 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.00272/0.00272, allocations: 104.1 kB / 0.7343 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1723, allocations: 95.34 MB / 0.8274 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6028/0.775, allocations: 190.7 MB / 1.014 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01223/0.7873, allocations: 13.1 MB / 1.026 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.7885, allocations: 40.53 kB / 1.026 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.7897, allocations: 427.4 kB / 1.027 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.7918, allocations: 0.9625 MB / 1.028 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.7935, allocations: 0.7117 MB / 1.028 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.7951, allocations: 1.509 MB / 1.03 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006645/0.7958, allocations: 0.5447 MB / 1.03 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003305/0.7991, allocations: 1.778 MB / 1.032 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.8002, allocations: 0.547 MB / 1.033 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.8003, allocations: 54.12 kB / 1.033 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.8017, allocations: 0.9174 MB / 1.034 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.8019, allocations: 285.8 kB / 1.034 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.8022, allocations: 382 kB / 1.034 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.8035, allocations: 1.175 MB / 1.035 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8035, allocations: 0 / 1.035 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8035, allocations: 1 kB / 1.035 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.8035, allocations: 0 / 1.035 GB, free: 2.293 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.001402/0.8049, allocations: 1.08 MB / 1.037 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.805, allocations: 12.09 kB / 1.037 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.201e-05/0.805, allocations: 94.7 kB / 1.037 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000846/0.8059, allocations: 198.8 kB / 1.037 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/0.8066, allocations: 0.5543 MB / 1.037 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.8066, allocations: 46.55 kB / 1.037 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.8067, allocations: 60.81 kB / 1.037 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.8076, allocations: 0.7662 MB / 1.038 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.8076, allocations: 7.562 kB / 1.038 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.8077, allocations: 24.03 kB / 1.038 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.8077, allocations: 28.22 kB / 1.038 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.8085, allocations: 466.9 kB / 1.039 GB, free: 16.92 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.003548/0.812, allocations: 4.4 MB / 1.043 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.8121, allocations: 102 kB / 1.043 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.8122, allocations: 70.12 kB / 1.043 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.8124, allocations: 96.94 kB / 1.043 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.8124, allocations: 37.66 kB / 1.043 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.8124, allocations: 1.031 kB / 1.043 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005778/0.813, allocations: 243.7 kB / 1.044 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.8131, allocations: 135.1 kB / 1.044 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009386/0.814, allocations: 0.8399 MB / 1.044 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.814, allocations: 30.42 kB / 1.044 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.8143, allocations: 410.4 kB / 1.045 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.8143, allocations: 39.78 kB / 1.045 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.8144, allocations: 94.69 kB / 1.045 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8146, allocations: 323.7 kB / 1.045 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.8148, allocations: 110.7 kB / 1.045 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.8152, allocations: 364.5 kB / 1.046 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.8157, allocations: 450.1 kB / 1.046 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8157, allocations: 2.656 kB / 1.046 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008103/0.8165, allocations: 0.4995 MB / 1.047 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8165, allocations: 11.5 kB / 1.047 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.8165, allocations: 7.75 kB / 1.047 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.8165, allocations: 11.06 kB / 1.047 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.8168, allocations: 95.78 kB / 1.047 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.8168, allocations: 13.19 kB / 1.047 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.8174, allocations: 120 kB / 1.047 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.8175, allocations: 25.56 kB / 1.047 GB, free: 11.66 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.0002455/0.8177, allocations: 237.4 kB / 1.047 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.8178, allocations: 74.56 kB / 1.047 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.8179, allocations: 72.39 kB / 1.047 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.8179, allocations: 2.438 kB / 1.047 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.818, allocations: 3.375 kB / 1.047 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.818, allocations: 2.531 kB / 1.047 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.8191, allocations: 1.127 MB / 1.048 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8192, allocations: 3.875 kB / 1.048 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/0.8192, allocations: 18.56 kB / 1.048 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8192, allocations: 3.594 kB / 1.048 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.8192, allocations: 12.25 kB / 1.048 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8192, allocations: 0 / 1.048 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8192, allocations: 6.844 kB / 1.048 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.8195, allocations: 269.5 kB / 1.049 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.8197, allocations: 169.2 kB / 1.049 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.243e-05/0.8198, allocations: 5.531 kB / 1.049 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.8201, allocations: 21.58 kB / 1.049 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.8201, allocations: 12 kB / 1.049 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.8201, allocations: 14.66 kB / 1.049 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006915/0.8208, allocations: 0.5824 MB / 1.05 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8208, allocations: 1.812 kB / 1.05 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005204/0.8214, allocations: 154.4 kB / 1.05 GB, free: 10.38 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.0008926/0.8222, allocations: 0.8969 MB / 1.051 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.8227, allocations: 238 kB / 1.051 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8227, allocations: 0 / 1.051 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.507e-05/0.8228, allocations: 49.86 kB / 1.051 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.8243, allocations: 383.6 kB / 1.051 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/0.8308, allocations: 5.464 MB / 1.057 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.8313, allocations: 0.9378 MB / 1.057 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004611/0.8318, allocations: 147.5 kB / 1.058 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.8321, allocations: 229.5 kB / 1.058 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of SimCode: time 6.52e-07/0.8321, allocations: 0 / 1.058 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04625/0.8783, allocations: 18.11 MB / 1.075 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/9.543, allocations: 12.52 kB / 1.075 GB, free: 15.05 MB / 0.7481 GB " [Timeout remaining time 650] (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: 13.477682257071137] Failed to read output from testmodel.py, exit status != 0: 9.621152542065829 9.640525343 8.833411155 Calling exit ...