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.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001491/0.001491, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 282.6 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8779/0.8779, allocations: 169.2 MB / 0.4977 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 94.19 kB / 0.5946 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1228, allocations: 86.98 MB / 0.6795 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3944/0.5172, allocations: 185 MB / 0.8602 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.5309, allocations: 13.13 MB / 0.873 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000991/0.5319, allocations: 31.38 kB / 0.8731 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.533, allocations: 346.9 kB / 0.8734 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.5353, allocations: 1.095 MB / 0.8745 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.5367, allocations: 0.6247 MB / 0.8751 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.5388, allocations: 2.777 MB / 0.8778 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007639/0.5395, allocations: 0.7223 MB / 0.8785 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.5424, allocations: 1.656 MB / 0.8801 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.5437, allocations: 0.6926 MB / 0.8808 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/0.5438, allocations: 45.44 kB / 0.8808 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.5453, allocations: 0.9868 MB / 0.8818 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.5456, allocations: 353.9 kB / 0.8821 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.546, allocations: 470 kB / 0.8826 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.5473, allocations: 1.497 MB / 0.884 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5474, allocations: 0 / 0.884 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5474, allocations: 0 / 0.884 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.5474, allocations: 0 / 0.884 GB, free: 3.301 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.001626/0.549, allocations: 1.227 MB / 0.8852 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.5491, allocations: 9.594 kB / 0.8853 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.5492, allocations: 127.2 kB / 0.8854 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.5503, allocations: 219.8 kB / 0.8856 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008755/0.5512, allocations: 0.6387 MB / 0.8862 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.5512, allocations: 56.84 kB / 0.8863 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.335e-05/0.5513, allocations: 80.12 kB / 0.8863 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.5525, allocations: 0.9428 MB / 0.8873 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.5526, allocations: 3.938 kB / 0.8873 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.5526, allocations: 38.34 kB / 0.8873 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.5527, allocations: 26.12 kB / 0.8873 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.5536, allocations: 0.6178 MB / 0.8879 GB, free: 0.5547 MB / 0.5919 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.003642/0.5572, allocations: 4.584 MB / 0.8924 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.5579, allocations: 0.5399 MB / 0.8929 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.5583, allocations: 254 kB / 0.8932 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.5584, allocations: 100.7 kB / 0.8933 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.5585, allocations: 44.73 kB / 0.8933 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.674e-06/0.5585, allocations: 0 / 0.8933 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002393/0.5609, allocations: 1.59 MB / 0.8949 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.5609, allocations: 107.5 kB / 0.895 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007011/0.5616, allocations: 0.7134 MB / 0.8957 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.5617, allocations: 36.48 kB / 0.8957 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.5619, allocations: 414.4 kB / 0.8961 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.5621, allocations: 169.6 kB / 0.8963 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.5622, allocations: 118.2 kB / 0.8964 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5623, allocations: 334 kB / 0.8967 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.5626, allocations: 185.2 kB / 0.8969 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.5631, allocations: 409 kB / 0.8973 GB, free: 8.402 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.002166/0.5653, allocations: 1.188 MB / 0.8984 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5653, allocations: 0 / 0.8984 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008848/0.5662, allocations: 0.6644 MB / 0.8991 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5662, allocations: 16.06 kB / 0.8991 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5662, allocations: 8 kB / 0.8991 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5662, allocations: 8 kB / 0.8991 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.5667, allocations: 127.8 kB / 0.8992 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.5667, allocations: 11.98 kB / 0.8992 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/0.5672, allocations: 59.88 kB / 0.8993 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.5673, allocations: 28 kB / 0.8993 GB, free: 6.188 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 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.0002989/0.5676, allocations: 276.4 kB / 0.8996 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.5677, allocations: 87 kB / 0.8997 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.5679, allocations: 99.64 kB / 0.8998 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5679, allocations: 4 kB / 0.8998 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.5679, allocations: 4 kB / 0.8998 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006309/0.5685, allocations: 0.6911 MB / 0.9004 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.5707, allocations: 1.64 MB / 0.902 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5707, allocations: 12 kB / 0.9021 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.5711, allocations: 99.83 kB / 0.9021 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.5712, allocations: 11.92 kB / 0.9022 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.5712, allocations: 16 kB / 0.9022 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.5712, allocations: 8 kB / 0.9022 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5712, allocations: 7.938 kB / 0.9022 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.5722, allocations: 0.8687 MB / 0.903 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.5725, allocations: 208 kB / 0.9032 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.5726, allocations: 12 kB / 0.9032 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.5731, allocations: 43.91 kB / 0.9033 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.5731, allocations: 43.83 kB / 0.9033 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.5732, allocations: 24 kB / 0.9034 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005311/0.5737, allocations: 0.5107 MB / 0.9039 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5737, allocations: 0 / 0.9039 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000628/0.5743, allocations: 200 kB / 0.904 GB, free: 1.066 MB / 0.6075 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.001571/0.5759, allocations: 1.5 MB / 0.9055 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006522/0.5766, allocations: 469.5 kB / 0.906 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5766, allocations: 4 kB / 0.906 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.5769, allocations: 212.7 kB / 0.9062 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.5787, allocations: 451.8 kB / 0.9066 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007949/0.5867, allocations: 7.185 MB / 0.9136 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.5872, allocations: 1.028 MB / 0.9146 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006005/0.5878, allocations: 203.6 kB / 0.9148 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.5882, allocations: 295.3 kB / 0.9151 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.5882, allocations: 4 kB / 0.9151 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.146/4.734, allocations: 21.35 MB / 0.9359 GB, free: 372 kB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/4.734, allocations: 286.9 kB / 0.9362 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/7.064, allocations: 6.75 kB / 0.9362 GB, free: 15.98 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)