Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 104.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.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.002338/0.002338, allocations: 284.6 kB / 303 MB, free: 3.57 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 0.9947/0.9947, allocations: 180.9 MB / 0.5261 GB, free: 2.777 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002645/0.002645, allocations: 99.84 kB / 0.7248 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4708, allocations: 94.16 MB / 0.8167 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2104/0.6813, allocations: 191 MB / 1.003 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009124/0.6904, allocations: 5.708 MB / 1.009 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.6915, allocations: 39.75 kB / 1.009 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.693, allocations: 0.5981 MB / 1.009 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003952/0.697, allocations: 1.665 MB / 1.011 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003165/0.7002, allocations: 1.225 MB / 1.012 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003394/0.7036, allocations: 2.503 MB / 1.015 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.7047, allocations: 0.8286 MB / 1.015 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.7065, allocations: 1.062 MB / 1.017 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.7082, allocations: 0.8793 MB / 1.017 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.7083, allocations: 104 kB / 1.017 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.7111, allocations: 1.613 MB / 1.019 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005008/0.7116, allocations: 0.4947 MB / 1.02 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006654/0.7123, allocations: 0.6222 MB / 1.02 GB, free: 204 kB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.7152, allocations: 2.118 MB / 1.022 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7152, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7152, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.7153, allocations: 0 / 1.022 GB, free: 14.07 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00229/0.7175, allocations: 1.513 MB / 1.024 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.7176, allocations: 8.031 kB / 1.024 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.7178, allocations: 143.2 kB / 1.024 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.7196, allocations: 334.9 kB / 1.024 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.721, allocations: 0.8123 MB / 1.025 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.7211, allocations: 66 kB / 1.025 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.7212, allocations: 87.95 kB / 1.025 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.7229, allocations: 1.071 MB / 1.026 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.7229, allocations: 4 kB / 1.026 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.118e-05/0.723, allocations: 36 kB / 1.026 GB, free: 9.867 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.7231, allocations: 37.98 kB / 1.026 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.7245, allocations: 0.8274 MB / 1.027 GB, free: 9.004 MB / 0.7637 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.005464/0.73, allocations: 4.275 MB / 1.031 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.7306, allocations: 361.8 kB / 1.032 GB, free: 4.098 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.7308, allocations: 203 kB / 1.032 GB, free: 3.898 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.731, allocations: 105.1 kB / 1.032 GB, free: 3.777 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.7311, allocations: 38.56 kB / 1.032 GB, free: 3.73 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/0.7311, allocations: 0 / 1.032 GB, free: 3.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=38): time 0.002355/0.7334, allocations: 1.346 MB / 1.033 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.7335, allocations: 55.41 kB / 1.033 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.7348, allocations: 0.9928 MB / 1.034 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.7348, allocations: 37.7 kB / 1.034 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.7352, allocations: 0.5041 MB / 1.035 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.7354, allocations: 146.8 kB / 1.035 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.7355, allocations: 122.2 kB / 1.035 GB, free: 440 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7357, allocations: 334 kB / 1.035 GB, free: 100 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.7361, allocations: 233.2 kB / 1.036 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.7367, allocations: 427.7 kB / 1.036 GB, free: 15.38 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.002422/0.7392, allocations: 1.217 MB / 1.037 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7392, allocations: 0 / 1.037 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001343/0.7405, allocations: 0.7738 MB / 1.038 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7405, allocations: 12 kB / 1.038 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.7405, allocations: 7.938 kB / 1.038 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.7406, allocations: 8 kB / 1.038 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.7411, allocations: 147.8 kB / 1.038 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.7411, allocations: 11.94 kB / 1.038 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.7419, allocations: 51.95 kB / 1.038 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.742, allocations: 35.92 kB / 1.038 GB, free: 13.01 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0004348/0.7424, allocations: 313.5 kB / 1.038 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.7426, allocations: 107.3 kB / 1.039 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.7427, allocations: 105 kB / 1.039 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.7427, allocations: 11.94 kB / 1.039 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.7427, allocations: 0 / 1.039 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00071/0.7434, allocations: 0.6828 MB / 1.039 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.7459, allocations: 1.576 MB / 1.041 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.746, allocations: 7.984 kB / 1.041 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.7463, allocations: 83.91 kB / 1.041 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.7463, allocations: 4 kB / 1.041 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.7464, allocations: 12 kB / 1.041 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-05/0.7464, allocations: 19.86 kB / 1.041 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.7464, allocations: 4 kB / 1.041 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.7474, allocations: 0.8297 MB / 1.042 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/0.7478, allocations: 240.4 kB / 1.042 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.748, allocations: 23.92 kB / 1.042 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.7486, allocations: 35.97 kB / 1.042 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.7486, allocations: 35.84 kB / 1.042 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.7487, allocations: 23.98 kB / 1.042 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009624/0.7496, allocations: 0.7155 MB / 1.043 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7496, allocations: 0 / 1.043 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007784/0.7504, allocations: 251.9 kB / 1.043 GB, free: 7.656 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001698/0.7521, allocations: 1.484 MB / 1.045 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009032/0.753, allocations: 488.8 kB / 1.045 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.753, allocations: 7.875 kB / 1.045 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.7533, allocations: 183.9 kB / 1.045 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.7557, allocations: 0.6103 MB / 1.046 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.768, allocations: 7.638 MB / 1.053 GB, free: 12.83 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008742/0.7689, allocations: 1.099 MB / 1.054 GB, free: 11.7 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0009922/0.7699, allocations: 248.2 kB / 1.055 GB, free: 11.45 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005322/0.7704, allocations: 343.3 kB / 1.055 GB, free: 11.12 MB / 0.795 GB Notification: Performance of SimCode: time 1.212e-06/0.7704, allocations: 0 / 1.055 GB, free: 11.12 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06386/0.8343, allocations: 27.95 MB / 1.082 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.185/10.02, allocations: 3.938 kB / 1.082 GB, free: 15.64 MB / 0.8262 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.644871048163623] Failed to read output from testmodel.py, exit status != 0: 10.100906440988183 10.113925197 9.395998848 Calling exit ...