Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.0007453/0.0007454, allocations: 92.23 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.004227/0.004227, allocations: 169.9 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.27/1.27, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 266.2 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8752/0.8752, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 19.39 kB / 0.5988 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 88.55 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4046/0.5297, allocations: 185.7 MB / 0.8666 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00733/0.5371, allocations: 5.71 MB / 0.8722 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004755/0.5375, allocations: 30.28 kB / 0.8722 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.5386, allocations: 0.4886 MB / 0.8727 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.5416, allocations: 1.736 MB / 0.8744 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.5436, allocations: 1.069 MB / 0.8754 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003006/0.5466, allocations: 4.096 MB / 0.8794 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009246/0.5475, allocations: 0.927 MB / 0.8803 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009888/0.5485, allocations: 0.8618 MB / 0.8812 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.55, allocations: 0.9633 MB / 0.8821 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.662e-05/0.5501, allocations: 47.22 kB / 0.8822 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.5522, allocations: 1.62 MB / 0.8838 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004175/0.5527, allocations: 0.4908 MB / 0.8842 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000553/0.5532, allocations: 0.6509 MB / 0.8849 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.5552, allocations: 2.321 MB / 0.8871 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5552, allocations: 0 / 0.8871 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5552, allocations: 0 / 0.8871 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.5553, allocations: 0 / 0.8871 GB, free: 0.9297 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001898/0.5572, allocations: 1.364 MB / 0.8885 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5572, allocations: 16.02 kB / 0.8885 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.5574, allocations: 156.2 kB / 0.8886 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.5592, allocations: 334.2 kB / 0.889 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.5603, allocations: 0.8668 MB / 0.8898 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.5604, allocations: 74 kB / 0.8899 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.5605, allocations: 99.91 kB / 0.89 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.5622, allocations: 1.104 MB / 0.891 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.5622, allocations: 4 kB / 0.891 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.144e-05/0.5623, allocations: 36 kB / 0.8911 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.5623, allocations: 45.98 kB / 0.8911 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.5639, allocations: 1.007 MB / 0.8921 GB, free: 11.73 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.005127/0.569, allocations: 4.256 MB / 0.8963 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.5699, allocations: 0.6 MB / 0.8969 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/0.5704, allocations: 342.6 kB / 0.8972 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.5705, allocations: 113.5 kB / 0.8973 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.5706, allocations: 39 kB / 0.8973 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 1.513e-06/0.5706, allocations: 4 kB / 0.8973 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.00359/0.5742, allocations: 2.232 MB / 0.8995 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.5742, allocations: 59.91 kB / 0.8996 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009164/0.5751, allocations: 0.8804 MB / 0.9004 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.5752, allocations: 41.64 kB / 0.9005 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.5755, allocations: 0.5107 MB / 0.901 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.5757, allocations: 201.1 kB / 0.9012 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.5758, allocations: 65.69 kB / 0.9012 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.5759, allocations: 330 kB / 0.9015 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.5763, allocations: 289.8 kB / 0.9018 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.5769, allocations: 437 kB / 0.9022 GB, free: 0.8242 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/0.5805, allocations: 1.78 MB / 0.904 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5805, allocations: 4 kB / 0.904 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001374/0.5819, allocations: 0.9379 MB / 0.9049 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5819, allocations: 6.031 kB / 0.9049 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5819, allocations: 4 kB / 0.9049 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.5821, allocations: 102.4 kB / 0.905 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.5828, allocations: 171.8 kB / 0.9052 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.5856, allocations: 4.302 MB / 0.9094 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/0.5865, allocations: 71.95 kB / 0.9094 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.5865, allocations: 28 kB / 0.9094 GB, free: 8.926 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003851/0.5869, allocations: 342.2 kB / 0.9098 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.587, allocations: 102.8 kB / 0.9099 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.5872, allocations: 109.2 kB / 0.91 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5873, allocations: 4 kB / 0.91 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5873, allocations: 3.938 kB / 0.91 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009832/0.5883, allocations: 0.777 MB / 0.9107 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.5909, allocations: 1.996 MB / 0.9127 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.591, allocations: 3.984 kB / 0.9127 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/0.5916, allocations: 160.2 kB / 0.9128 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-05/0.5917, allocations: 36.83 kB / 0.9129 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.5917, allocations: 16 kB / 0.9129 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009861/0.5927, allocations: 1.496 MB / 0.9144 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.5927, allocations: 7.938 kB / 0.9144 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.5943, allocations: 1.234 MB / 0.9156 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.5946, allocations: 247.9 kB / 0.9158 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.5947, allocations: 19.98 kB / 0.9158 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007365/0.5955, allocations: 69.05 kB / 0.9159 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.5956, allocations: 51.77 kB / 0.9159 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.5956, allocations: 35.97 kB / 0.916 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006541/0.5963, allocations: 0.6122 MB / 0.9166 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5963, allocations: 0 / 0.9166 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007602/0.5971, allocations: 308 kB / 0.9169 GB, free: 0.9492 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002048/0.5991, allocations: 1.858 MB / 0.9187 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.6004, allocations: 1.015 MB / 0.9197 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6004, allocations: 0 / 0.9197 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005577/0.601, allocations: 442.3 kB / 0.9201 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/0.6039, allocations: 0.638 MB / 0.9207 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.6142, allocations: 8.779 MB / 0.9293 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.6149, allocations: 1.174 MB / 0.9304 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000775/0.6156, allocations: 248.4 kB / 0.9307 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/0.6161, allocations: 383.3 kB / 0.931 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.6161, allocations: 0 / 0.931 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.111/4.727, allocations: 28.94 MB / 0.9593 GB, free: 5.543 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/4.727, allocations: 320 kB / 0.9596 GB, free: 5.164 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.108/8.835, allocations: 7.938 kB / 0.9596 GB, free: 5.156 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)