Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001245/0.001245, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001389/0.001389, allocations: 213.9 kB / 22.25 MB, free: 5.242 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.338/1.338, allocations: 230.6 MB / 256 MB, free: 7.805 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.002414/0.002414, allocations: 286.6 kB / 312.7 MB, free: 2.625 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.15/1.15, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.0028/0.0028, allocations: 99.27 kB / 0.7395 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1684, allocations: 95.38 MB / 0.8327 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5814/0.7497, allocations: 168.4 MB / 0.9971 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008052/0.7578, allocations: 5.408 MB / 1.002 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.7593, allocations: 56.53 kB / 1.002 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.7608, allocations: 0.5462 MB / 1.003 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004836/0.7656, allocations: 1.912 MB / 1.005 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003232/0.7689, allocations: 1.201 MB / 1.006 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004259/0.7731, allocations: 2.996 MB / 1.009 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.7743, allocations: 0.8199 MB / 1.01 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.7763, allocations: 1.127 MB / 1.011 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.7782, allocations: 1 MB / 1.012 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.7784, allocations: 123.9 kB / 1.012 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.781, allocations: 1.215 MB / 1.013 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005772/0.7816, allocations: 0.5799 MB / 1.014 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007816/0.7824, allocations: 0.6085 MB / 1.014 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002806/0.7852, allocations: 2.315 MB / 1.017 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7852, allocations: 4 kB / 1.017 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7852, allocations: 0 / 1.017 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.7852, allocations: 3.656 kB / 1.017 GB, free: 3.07 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002532/0.7877, allocations: 1.579 MB / 1.018 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7878, allocations: 9.969 kB / 1.018 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.7879, allocations: 157.9 kB / 1.018 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.7898, allocations: 331.6 kB / 1.019 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.7913, allocations: 0.8504 MB / 1.019 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.7913, allocations: 80.8 kB / 1.019 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.7914, allocations: 92.28 kB / 1.02 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.7932, allocations: 1.542 MB / 1.021 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.7932, allocations: 0 / 1.021 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/0.7933, allocations: 42.53 kB / 1.021 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/0.7933, allocations: 38.28 kB / 1.021 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.7947, allocations: 0.9881 MB / 1.022 GB, free: 17.29 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.004781/0.7995, allocations: 2.9 MB / 1.025 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.8002, allocations: 0.5689 MB / 1.025 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.8006, allocations: 327.4 kB / 1.026 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.8007, allocations: 30.59 kB / 1.026 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.8007, allocations: 41.84 kB / 1.026 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 1.973e-06/0.8007, allocations: 3.094 kB / 1.026 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003365/0.8041, allocations: 1.911 MB / 1.028 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.8042, allocations: 69.19 kB / 1.028 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008918/0.805, allocations: 0.8885 MB / 1.029 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.8051, allocations: 37.45 kB / 1.029 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.8054, allocations: 0.5278 MB / 1.029 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.8056, allocations: 204.2 kB / 1.029 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.8057, allocations: 136.8 kB / 1.03 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8059, allocations: 331.9 kB / 1.03 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.8063, allocations: 287.2 kB / 1.03 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.8068, allocations: 485.6 kB / 1.031 GB, free: 15.08 MB / 0.7325 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.003284/0.8101, allocations: 1.669 MB / 1.032 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8101, allocations: 2.438 kB / 1.032 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001245/0.8113, allocations: 0.9295 MB / 1.033 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.8113, allocations: 7.656 kB / 1.033 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8113, allocations: 9.094 kB / 1.033 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.8115, allocations: 99.69 kB / 1.033 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.8122, allocations: 160.1 kB / 1.033 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.8154, allocations: 4.317 MB / 1.038 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/0.8162, allocations: 31.25 kB / 1.038 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.8163, allocations: 24.44 kB / 1.038 GB, free: 11.12 MB / 0.7325 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000569/0.8169, allocations: 353.1 kB / 1.038 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.817, allocations: 107.5 kB / 1.038 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.8172, allocations: 108.1 kB / 1.038 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.8172, allocations: 6.594 kB / 1.038 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.8172, allocations: 0.875 kB / 1.038 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009583/0.8181, allocations: 0.7643 MB / 1.039 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.8209, allocations: 1.808 MB / 1.041 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8209, allocations: 5.469 kB / 1.041 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.8215, allocations: 144.9 kB / 1.041 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-05/0.8216, allocations: 47.73 kB / 1.041 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.8216, allocations: 17.28 kB / 1.041 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.8228, allocations: 1.496 MB / 1.042 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8228, allocations: 6.125 kB / 1.042 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.8242, allocations: 1.213 MB / 1.044 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.8247, allocations: 182.2 kB / 1.044 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.8248, allocations: 15.02 kB / 1.044 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/0.8255, allocations: 46.34 kB / 1.044 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.8256, allocations: 48.62 kB / 1.044 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/0.8257, allocations: 31.17 kB / 1.044 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000629/0.8263, allocations: 0.6118 MB / 1.044 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8263, allocations: 0 / 1.044 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008181/0.8271, allocations: 305.7 kB / 1.045 GB, free: 8.555 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002006/0.8291, allocations: 1.839 MB / 1.047 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.8304, allocations: 0.9813 MB / 1.048 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8304, allocations: 3.469 kB / 1.048 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005289/0.831, allocations: 431.1 kB / 1.048 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.8335, allocations: 0.6524 MB / 1.049 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.8436, allocations: 7.966 MB / 1.056 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.8442, allocations: 0.576 MB / 1.057 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009581/0.8451, allocations: 249.7 kB / 1.057 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/0.8457, allocations: 383.5 kB / 1.058 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/0.8457, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07258/0.9182, allocations: 33.59 MB / 1.09 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.68, allocations: 19.05 kB / 1.09 GB, free: 11.25 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.61157688079402] Failed to read output from testmodel.py, exit status != 0: 13.813194994814694 13.828476761 13.04030511 Calling exit ...