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.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.001284/0.001284, allocations: 104.4 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.001255/0.001255, 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.334/1.334, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.00227/0.00227, allocations: 281.5 kB / 303 MB, free: 3.535 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.9799/0.9799, allocations: 180.9 MB / 0.5262 GB, free: 2.797 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 103.8 kB / 0.7248 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.4866, allocations: 94.16 MB / 0.8167 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.21/0.6966, allocations: 187.9 MB / 1 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.7127, allocations: 13.14 MB / 1.013 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.7139, allocations: 35.81 kB / 1.013 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.7153, allocations: 433.1 kB / 1.014 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.7182, allocations: 1.213 MB / 1.015 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.72, allocations: 0.6999 MB / 1.015 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002447/0.7224, allocations: 2.024 MB / 1.017 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009381/0.7234, allocations: 0.6911 MB / 1.018 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.7271, allocations: 1.884 MB / 1.02 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.7285, allocations: 0.7134 MB / 1.021 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.7286, allocations: 83.94 kB / 1.021 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.7303, allocations: 0.9276 MB / 1.022 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.7307, allocations: 390.9 kB / 1.022 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.7312, allocations: 0.4976 MB / 1.022 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.7331, allocations: 1.506 MB / 1.024 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7331, allocations: 0 / 1.024 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7331, allocations: 0 / 1.024 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.7331, allocations: 0 / 1.024 GB, free: 12.39 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.001783/0.7349, allocations: 1.257 MB / 1.025 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.7349, allocations: 12.03 kB / 1.025 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.735, allocations: 118.5 kB / 1.025 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.7362, allocations: 227.1 kB / 1.025 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.7373, allocations: 0.6877 MB / 1.026 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.7373, allocations: 58 kB / 1.026 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.7374, allocations: 76 kB / 1.026 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.7387, allocations: 0.9366 MB / 1.027 GB, free: 8.844 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.7388, allocations: 7.938 kB / 1.027 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.7388, allocations: 35.94 kB / 1.027 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.7389, allocations: 25.31 kB / 1.027 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009765/0.7398, allocations: 0.6216 MB / 1.028 GB, free: 8.152 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.00458/0.7444, allocations: 4.59 MB / 1.032 GB, free: 3.27 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/0.7452, allocations: 0.5247 MB / 1.033 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.7455, allocations: 241.4 kB / 1.033 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.7457, allocations: 101.1 kB / 1.033 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.7458, allocations: 38.34 kB / 1.033 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=43): time 2.175e-06/0.7458, allocations: 4 kB / 1.033 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.002662/0.7484, allocations: 1.612 MB / 1.035 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.7485, allocations: 110.8 kB / 1.035 GB, free: 500 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008362/0.7493, allocations: 0.7155 MB / 1.036 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.7494, allocations: 33.7 kB / 1.036 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.7497, allocations: 432.5 kB / 1.036 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.7498, allocations: 174.5 kB / 1.036 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.75, allocations: 114.3 kB / 1.036 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7501, allocations: 330 kB / 1.037 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.7504, allocations: 189.2 kB / 1.037 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.7509, allocations: 417 kB / 1.037 GB, free: 13.99 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.002219/0.7531, allocations: 1.182 MB / 1.038 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7531, allocations: 4 kB / 1.038 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009934/0.7541, allocations: 0.6726 MB / 1.039 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.7541, allocations: 11.94 kB / 1.039 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.7542, allocations: 8.094 kB / 1.039 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.7542, allocations: 12 kB / 1.039 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.7546, allocations: 123.8 kB / 1.039 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.7546, allocations: 12 kB / 1.039 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.7551, allocations: 33.94 kB / 1.039 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.7552, allocations: 28 kB / 1.039 GB, free: 11.8 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.0003702/0.7555, allocations: 274 kB / 1.04 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.7557, allocations: 91.42 kB / 1.04 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.7558, allocations: 91.66 kB / 1.04 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.7558, allocations: 4.094 kB / 1.04 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7558, allocations: 0 / 1.04 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007366/0.7566, allocations: 0.7077 MB / 1.04 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.759, allocations: 1.639 MB / 1.042 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.759, allocations: 4 kB / 1.042 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.7595, allocations: 107.8 kB / 1.042 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.7595, allocations: 4 kB / 1.042 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.7595, allocations: 12 kB / 1.042 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.497e-06/0.7595, allocations: 12.06 kB / 1.042 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.7595, allocations: 7.938 kB / 1.042 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.7606, allocations: 0.8699 MB / 1.043 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.7609, allocations: 204.5 kB / 1.043 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/0.761, allocations: 23.98 kB / 1.043 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.7614, allocations: 19.94 kB / 1.043 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.7615, allocations: 39.83 kB / 1.043 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.7615, allocations: 20 kB / 1.043 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006078/0.7621, allocations: 0.5068 MB / 1.044 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7621, allocations: 4 kB / 1.044 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006851/0.7628, allocations: 204 kB / 1.044 GB, free: 6.691 MB / 0.7794 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.001716/0.7645, allocations: 1.499 MB / 1.045 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007798/0.7653, allocations: 463.9 kB / 1.046 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7653, allocations: 4 kB / 1.046 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.7656, allocations: 205.8 kB / 1.046 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.7674, allocations: 483.5 kB / 1.047 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/0.7758, allocations: 6.645 MB / 1.053 GB, free: 12.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.7764, allocations: 1.032 MB / 1.054 GB, free: 11.93 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006335/0.7771, allocations: 203 kB / 1.054 GB, free: 11.72 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.7775, allocations: 295.3 kB / 1.054 GB, free: 11.43 MB / 0.795 GB Notification: Performance of SimCode: time 8.11e-07/0.7775, allocations: 0 / 1.054 GB, free: 11.43 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05384/0.8313, allocations: 22.37 MB / 1.076 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.813/9.644, allocations: 5.062 kB / 1.076 GB, free: 5.527 MB / 0.8106 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.254221878014505] Failed to read output from testmodel.py, exit status != 0: 9.725954497698694 9.74727841 9.010173531 Calling exit ...