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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007545/0.0007546, allocations: 90.83 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003915/0.003915, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001635/0.001635, allocations: 267.2 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8437/0.8437, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 20.88 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3995/0.5306, allocations: 182.6 MB / 0.8635 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.5425, allocations: 12.95 MB / 0.8762 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004201/0.543, allocations: 28.41 kB / 0.8762 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008288/0.5438, allocations: 346.7 kB / 0.8765 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.5456, allocations: 1.086 MB / 0.8776 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.5468, allocations: 0.6382 MB / 0.8782 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001973/0.5488, allocations: 2.78 MB / 0.8809 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007035/0.5495, allocations: 0.7032 MB / 0.8816 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.5519, allocations: 1.624 MB / 0.8832 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.553, allocations: 0.6556 MB / 0.8838 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.5531, allocations: 32.88 kB / 0.8839 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.5543, allocations: 0.9716 MB / 0.8848 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.5546, allocations: 339 kB / 0.8851 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.5549, allocations: 471.3 kB / 0.8856 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.5562, allocations: 1.468 MB / 0.887 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5562, allocations: 4 kB / 0.887 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5562, allocations: 4 kB / 0.887 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.5562, allocations: 0 / 0.887 GB, free: 1.121 MB / 0.5919 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.001243/0.5575, allocations: 1.049 MB / 0.8881 GB, free: 24 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.5575, allocations: 8.031 kB / 0.8881 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.5576, allocations: 122.5 kB / 0.8882 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.5587, allocations: 218.6 kB / 0.8884 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.5595, allocations: 0.6441 MB / 0.889 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.5595, allocations: 58 kB / 0.8891 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.5596, allocations: 76 kB / 0.8891 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5608, allocations: 0.941 MB / 0.8901 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.5608, allocations: 3.984 kB / 0.8901 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.5609, allocations: 43.88 kB / 0.8901 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.5609, allocations: 29.3 kB / 0.8901 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.5618, allocations: 0.6216 MB / 0.8907 GB, free: 13.13 MB / 0.6075 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.003436/0.5652, allocations: 4.589 MB / 0.8952 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006746/0.5659, allocations: 0.5469 MB / 0.8958 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.5662, allocations: 250.4 kB / 0.896 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.5664, allocations: 101.1 kB / 0.8961 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.5664, allocations: 38.5 kB / 0.8961 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.352e-06/0.5664, allocations: 4 kB / 0.8961 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002277/0.5687, allocations: 1.585 MB / 0.8977 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.5688, allocations: 114.8 kB / 0.8978 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006927/0.5695, allocations: 0.7077 MB / 0.8985 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.5695, allocations: 37.7 kB / 0.8985 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.5698, allocations: 419.9 kB / 0.8989 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.5699, allocations: 165.7 kB / 0.8991 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.57, allocations: 57.69 kB / 0.8991 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.5701, allocations: 326 kB / 0.8994 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.5703, allocations: 189.2 kB / 0.8996 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.5707, allocations: 421 kB / 0.9 GB, free: 3.039 MB / 0.6075 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.001957/0.5727, allocations: 1.182 MB / 0.9012 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.5727, allocations: 4 kB / 0.9012 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008617/0.5736, allocations: 0.6756 MB / 0.9018 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5736, allocations: 8 kB / 0.9019 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.5736, allocations: 4.062 kB / 0.9019 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5736, allocations: 12 kB / 0.9019 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.574, allocations: 131.8 kB / 0.902 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.5741, allocations: 11.94 kB / 0.902 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/0.5746, allocations: 56.34 kB / 0.9021 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.5747, allocations: 31.98 kB / 0.9021 GB, free: 0.8164 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0002823/0.575, allocations: 276.1 kB / 0.9024 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5751, allocations: 86.91 kB / 0.9024 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.5753, allocations: 87.67 kB / 0.9025 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5753, allocations: 4 kB / 0.9025 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5753, allocations: 4 kB / 0.9025 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006144/0.5759, allocations: 0.6988 MB / 0.9032 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.5779, allocations: 1.643 MB / 0.9048 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5779, allocations: 4 kB / 0.9048 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.5783, allocations: 95.83 kB / 0.9049 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.5783, allocations: 8 kB / 0.9049 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.5783, allocations: 16 kB / 0.9049 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.5784, allocations: 7.938 kB / 0.9049 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5784, allocations: 8.469 kB / 0.905 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009074/0.5793, allocations: 0.8692 MB / 0.9058 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.5795, allocations: 212 kB / 0.906 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.963e-05/0.5796, allocations: 19.98 kB / 0.906 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.5801, allocations: 27.98 kB / 0.906 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.5801, allocations: 43.83 kB / 0.9061 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.5801, allocations: 19.94 kB / 0.9061 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005176/0.5807, allocations: 0.5146 MB / 0.9066 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5807, allocations: 0 / 0.9066 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005716/0.5813, allocations: 200 kB / 0.9068 GB, free: 11.71 MB / 0.6231 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.001357/0.5826, allocations: 1.498 MB / 0.9083 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006213/0.5833, allocations: 468.8 kB / 0.9087 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.5833, allocations: 11.94 kB / 0.9087 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.5835, allocations: 204.4 kB / 0.9089 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.5858, allocations: 466 kB / 0.9094 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00783/0.5936, allocations: 7.261 MB / 0.9165 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.5941, allocations: 1.032 MB / 0.9175 GB, free: 324 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005542/0.5947, allocations: 203 kB / 0.9177 GB, free: 116 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.5951, allocations: 295.4 kB / 0.9179 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.5951, allocations: 0 / 0.9179 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.588/2.183, allocations: 21.13 MB / 0.9386 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/2.184, allocations: 297.1 kB / 0.9389 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/4.376, allocations: 0 / 0.9389 GB, free: 10.77 MB / 0.6544 GB (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 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)