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.001231/0.001231, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001287/0.001287, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.372/1.372, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002288/0.002288, allocations: 285.2 kB / 309.8 MB, free: 3.441 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.014/1.014, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",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.002753/0.002753, allocations: 99.86 kB / 0.7347 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4704, allocations: 95.33 MB / 0.8278 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2283/0.6987, allocations: 194.1 MB / 1.017 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.7087, allocations: 5.711 MB / 1.023 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.7101, allocations: 63.44 kB / 1.023 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.7117, allocations: 0.5942 MB / 1.024 GB, free: 1.051 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004505/0.7162, allocations: 1.908 MB / 1.025 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.7192, allocations: 1.178 MB / 1.027 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003829/0.723, allocations: 2.963 MB / 1.029 GB, free: 11 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.7243, allocations: 0.9409 MB / 1.03 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.726, allocations: 1.125 MB / 1.031 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.7277, allocations: 1.038 MB / 1.032 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.7279, allocations: 124 kB / 1.033 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.7306, allocations: 1.532 MB / 1.034 GB, free: 6.219 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000604/0.7313, allocations: 0.5804 MB / 1.035 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00079/0.732, allocations: 0.7273 MB / 1.035 GB, free: 4.906 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.7351, allocations: 2.344 MB / 1.038 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.7351, allocations: 0 / 1.038 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7351, allocations: 0 / 1.038 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.7351, allocations: 4 kB / 1.038 GB, free: 2.551 MB / 0.7637 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.002589/0.7377, allocations: 1.65 MB / 1.039 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7377, allocations: 15.97 kB / 1.039 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.213e-05/0.7378, allocations: 26 kB / 1.039 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.738, allocations: 152.2 kB / 1.039 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.7399, allocations: 342.8 kB / 1.04 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.7413, allocations: 0.9183 MB / 1.041 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.7414, allocations: 74 kB / 1.041 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.7416, allocations: 103.9 kB / 1.041 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.7434, allocations: 1.077 MB / 1.042 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.7434, allocations: 4 kB / 1.042 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/0.7435, allocations: 40 kB / 1.042 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.7436, allocations: 45.98 kB / 1.042 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.7453, allocations: 0.9876 MB / 1.043 GB, free: 13.02 MB / 0.7794 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.006117/0.7514, allocations: 4.238 MB / 1.047 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/0.7523, allocations: 0.5611 MB / 1.048 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.7528, allocations: 327 kB / 1.048 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.753, allocations: 109.5 kB / 1.048 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.7531, allocations: 46.94 kB / 1.048 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=53): time 2.164e-06/0.7531, allocations: 0 / 1.048 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of matching and sorting (n=55): time 0.004252/0.7573, allocations: 2.226 MB / 1.05 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.7574, allocations: 55.97 kB / 1.05 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.7585, allocations: 0.8804 MB / 1.051 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.7585, allocations: 41.7 kB / 1.051 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.759, allocations: 0.5196 MB / 1.052 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.7592, allocations: 214.2 kB / 1.052 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.7594, allocations: 126.6 kB / 1.052 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7595, allocations: 334 kB / 1.052 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.76, allocations: 289.8 kB / 1.053 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.7607, allocations: 436.9 kB / 1.053 GB, free: 2.109 MB / 0.7794 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.004029/0.7647, allocations: 1.745 MB / 1.055 GB, free: 304 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7647, allocations: 0 / 1.055 GB, free: 304 kB / 0.7794 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001644/0.7664, allocations: 0.9262 MB / 1.056 GB, free: 15.35 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.7664, allocations: 11.92 kB / 1.056 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.7664, allocations: 7.938 kB / 1.056 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/0.7666, allocations: 99 kB / 1.056 GB, free: 15.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/0.7673, allocations: 163.8 kB / 1.056 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/0.7716, allocations: 4.637 MB / 1.06 GB, free: 10.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.7726, allocations: 27.94 kB / 1.061 GB, free: 9.988 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.7727, allocations: 31.94 kB / 1.061 GB, free: 9.957 MB / 0.795 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.0006215/0.7733, allocations: 347 kB / 1.061 GB, free: 9.609 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.7735, allocations: 107.5 kB / 1.061 GB, free: 9.504 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.7737, allocations: 109.2 kB / 1.061 GB, free: 9.395 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.7737, allocations: 8 kB / 1.061 GB, free: 9.387 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7737, allocations: 0 / 1.061 GB, free: 9.387 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.7749, allocations: 0.7613 MB / 1.062 GB, free: 8.574 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.7782, allocations: 1.992 MB / 1.064 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7782, allocations: 4 kB / 1.064 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/0.7789, allocations: 139.8 kB / 1.064 GB, free: 6.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/0.779, allocations: 45.17 kB / 1.064 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.779, allocations: 16 kB / 1.064 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.7804, allocations: 1.61 MB / 1.066 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.7804, allocations: 4 kB / 1.066 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.7823, allocations: 1.212 MB / 1.067 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/0.7827, allocations: 264.4 kB / 1.067 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.7828, allocations: 12 kB / 1.067 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006985/0.7835, allocations: 35.62 kB / 1.067 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.7836, allocations: 47.83 kB / 1.067 GB, free: 2.879 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.7837, allocations: 31.98 kB / 1.067 GB, free: 2.848 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008278/0.7845, allocations: 0.6161 MB / 1.068 GB, free: 2.238 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.7845, allocations: 3.938 kB / 1.068 GB, free: 2.234 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000956/0.7855, allocations: 300 kB / 1.068 GB, free: 1.941 MB / 0.795 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.002319/0.7878, allocations: 1.838 MB / 1.07 GB, free: 32 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.7894, allocations: 0.9837 MB / 1.071 GB, free: 15 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7894, allocations: 0 / 1.071 GB, free: 15 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.79, allocations: 438.1 kB / 1.071 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/0.7927, allocations: 0.6532 MB / 1.072 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.8041, allocations: 7.963 MB / 1.08 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008854/0.805, allocations: 1.163 MB / 1.081 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009168/0.8059, allocations: 252.4 kB / 1.081 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/0.8065, allocations: 383.3 kB / 1.081 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/0.8065, allocations: 0 / 1.081 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06423/0.8707, allocations: 30.76 MB / 1.111 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.84, allocations: 8.656 kB / 1.111 GB, free: 5.645 MB / 0.8419 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.67534026998328] Failed to read output from testmodel.py, exit status != 0: 14.003868350002449 14.018003218 13.279983453 Calling exit ...