Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.00121/0.00121, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00134/0.00134, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.411/1.411, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002394/0.002394, allocations: 281.6 kB / 309.8 MB, free: 3.461 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.031/1.031, allocations: 180.6 MB / 0.5338 GB, free: 12.38 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.0029/0.0029, allocations: 97.58 kB / 0.7347 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5068, allocations: 95.34 MB / 0.8278 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2139/0.7208, allocations: 190.9 MB / 1.014 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.7367, allocations: 13.14 MB / 1.027 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.7378, allocations: 43.62 kB / 1.027 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.7392, allocations: 441.1 kB / 1.027 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.7419, allocations: 1.202 MB / 1.029 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.7436, allocations: 0.7143 MB / 1.029 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00241/0.746, allocations: 2.019 MB / 1.031 GB, free: 8.961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009361/0.747, allocations: 0.6911 MB / 1.032 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.7507, allocations: 1.895 MB / 1.034 GB, free: 6.348 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.7522, allocations: 0.7052 MB / 1.035 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.7524, allocations: 80 kB / 1.035 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.754, allocations: 0.9236 MB / 1.036 GB, free: 4.641 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.7544, allocations: 386.9 kB / 1.036 GB, free: 4.262 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.7549, allocations: 0.5054 MB / 1.036 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.7568, allocations: 1.502 MB / 1.038 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7568, allocations: 0 / 1.038 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7568, allocations: 0 / 1.038 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.7568, allocations: 0 / 1.038 GB, free: 2.246 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001815/0.7587, allocations: 1.265 MB / 1.039 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.7587, allocations: 8.031 kB / 1.039 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.186e-05/0.7587, allocations: 22 kB / 1.039 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.7589, allocations: 126.5 kB / 1.039 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.76, allocations: 223.2 kB / 1.039 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.7611, allocations: 0.6876 MB / 1.04 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.7611, allocations: 58 kB / 1.04 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.7612, allocations: 83.97 kB / 1.04 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.7626, allocations: 0.9322 MB / 1.041 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.7626, allocations: 7.875 kB / 1.041 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.7627, allocations: 40 kB / 1.041 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/0.7627, allocations: 25.31 kB / 1.041 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009903/0.7637, allocations: 0.6177 MB / 1.042 GB, free: 13.98 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.004402/0.7681, allocations: 4.587 MB / 1.046 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/0.7689, allocations: 0.5247 MB / 1.047 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.7693, allocations: 226.5 kB / 1.047 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.7694, allocations: 101.1 kB / 1.047 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.7695, allocations: 51.17 kB / 1.047 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/0.7695, allocations: 0 / 1.047 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45): time 0.002727/0.7722, allocations: 1.616 MB / 1.049 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.7723, allocations: 106.8 kB / 1.049 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.7731, allocations: 0.7196 MB / 1.05 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.7732, allocations: 41.7 kB / 1.05 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.7735, allocations: 428.5 kB / 1.05 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.7736, allocations: 166.6 kB / 1.05 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.7738, allocations: 122.2 kB / 1.05 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.774, allocations: 330 kB / 1.051 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.7743, allocations: 189.2 kB / 1.051 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.7747, allocations: 413 kB / 1.051 GB, free: 3.816 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.777, allocations: 1.17 MB / 1.052 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.777, allocations: 0 / 1.052 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00101/0.778, allocations: 0.6835 MB / 1.053 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.778, allocations: 8 kB / 1.053 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.778, allocations: 8 kB / 1.053 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.7781, allocations: 8 kB / 1.053 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.7785, allocations: 132.5 kB / 1.053 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.7785, allocations: 12 kB / 1.053 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.779, allocations: 27.92 kB / 1.053 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.7791, allocations: 28 kB / 1.053 GB, free: 1.633 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003466/0.7794, allocations: 280.3 kB / 1.053 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.7796, allocations: 87.42 kB / 1.054 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.7798, allocations: 87.66 kB / 1.054 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.7798, allocations: 4 kB / 1.054 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7798, allocations: 4 kB / 1.054 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007434/0.7805, allocations: 0.7041 MB / 1.054 GB, free: 388 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.7829, allocations: 1.644 MB / 1.056 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.7829, allocations: 12.44 kB / 1.056 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.7833, allocations: 103.8 kB / 1.056 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.7833, allocations: 8 kB / 1.056 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.7834, allocations: 12 kB / 1.056 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.7834, allocations: 4 kB / 1.056 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.696e-05/0.7834, allocations: 11.92 kB / 1.056 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.7845, allocations: 0.8652 MB / 1.057 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.7848, allocations: 212.5 kB / 1.057 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/0.7848, allocations: 15.98 kB / 1.057 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.7853, allocations: 16 kB / 1.057 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.7853, allocations: 47.83 kB / 1.057 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.7854, allocations: 15.94 kB / 1.057 GB, free: 13.23 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006176/0.786, allocations: 0.5146 MB / 1.058 GB, free: 12.72 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.786, allocations: 0 / 1.058 GB, free: 12.72 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000666/0.7866, allocations: 199.9 kB / 1.058 GB, free: 12.52 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001688/0.7883, allocations: 1.487 MB / 1.059 GB, free: 10.97 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007553/0.7891, allocations: 469.1 kB / 1.06 GB, free: 10.52 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7891, allocations: 448 / 1.06 GB, free: 10.52 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.7894, allocations: 215.8 kB / 1.06 GB, free: 10.3 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.7913, allocations: 475.9 kB / 1.06 GB, free: 9.852 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008354/0.7997, allocations: 6.639 MB / 1.067 GB, free: 2.812 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.8004, allocations: 1.024 MB / 1.068 GB, free: 1.762 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005818/0.8009, allocations: 203 kB / 1.068 GB, free: 1.559 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.8013, allocations: 299.3 kB / 1.068 GB, free: 1.266 MB / 0.795 GB Notification: Performance of SimCode: time 6.52e-07/0.8013, allocations: 0 / 1.068 GB, free: 1.266 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04897/0.8503, allocations: 22.36 MB / 1.09 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.172/10.02, allocations: 12 kB / 1.09 GB, free: 11.38 MB / 0.8262 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.857119195046835] Failed to read output from testmodel.py, exit status != 0: 10.159888621012215 10.182081883 9.420878468 Calling exit ...