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.001288/0.001288, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002458/0.002458, allocations: 283 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.043/1.043, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003825/0.003825, allocations: 99.02 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1672, allocations: 89.15 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4651/0.6323, allocations: 190.4 MB / 0.8796 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008872/0.6412, allocations: 5.707 MB / 0.8852 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007643/0.642, allocations: 40.97 kB / 0.8852 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.6434, allocations: 0.5696 MB / 0.8857 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003685/0.6471, allocations: 1.837 MB / 0.8875 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.6496, allocations: 1.162 MB / 0.8887 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003345/0.653, allocations: 2.962 MB / 0.8916 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.6544, allocations: 1.124 MB / 0.8927 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.6559, allocations: 1.047 MB / 0.8937 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.6576, allocations: 0.9733 MB / 0.8946 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.6578, allocations: 127.9 kB / 0.8948 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.6606, allocations: 1.442 MB / 0.8962 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006107/0.6612, allocations: 0.5689 MB / 0.8967 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000799/0.662, allocations: 0.7195 MB / 0.8974 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.6649, allocations: 2.314 MB / 0.8997 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6649, allocations: 0 / 0.8997 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6649, allocations: 0 / 0.8997 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.6649, allocations: 4 kB / 0.8997 GB, free: 8.473 MB / 0.6231 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.002545/0.6675, allocations: 1.625 MB / 0.9013 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.6675, allocations: 8.031 kB / 0.9013 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/0.6677, allocations: 156.2 kB / 0.9014 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.6697, allocations: 326.2 kB / 0.9017 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.671, allocations: 0.8784 MB / 0.9026 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.6711, allocations: 74 kB / 0.9027 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.6713, allocations: 96 kB / 0.9028 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.6731, allocations: 1.093 MB / 0.9038 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.6732, allocations: 0 / 0.9038 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.6733, allocations: 43.98 kB / 0.9039 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.6733, allocations: 41.98 kB / 0.9039 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.675, allocations: 0.9915 MB / 0.9049 GB, free: 3.043 MB / 0.6231 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.006205/0.6813, allocations: 4.268 MB / 0.9091 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/0.6822, allocations: 0.6064 MB / 0.9096 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/0.6828, allocations: 338.5 kB / 0.91 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.683, allocations: 105.5 kB / 0.9101 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.683, allocations: 43 kB / 0.9101 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 1.833e-06/0.683, allocations: 4 kB / 0.9101 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.004157/0.6872, allocations: 2.197 MB / 0.9123 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.6873, allocations: 63.91 kB / 0.9123 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.6884, allocations: 0.8804 MB / 0.9132 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.6885, allocations: 37.7 kB / 0.9132 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.6889, allocations: 0.5301 MB / 0.9137 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.6891, allocations: 193.3 kB / 0.9139 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.6894, allocations: 130.5 kB / 0.914 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6895, allocations: 334 kB / 0.9144 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/0.69, allocations: 288.2 kB / 0.9146 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.6907, allocations: 433 kB / 0.915 GB, free: 8.09 MB / 0.6387 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.004049/0.6947, allocations: 1.747 MB / 0.9168 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6948, allocations: 4 kB / 0.9168 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001568/0.6963, allocations: 0.9298 MB / 0.9177 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6964, allocations: 4 kB / 0.9177 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.6964, allocations: 4 kB / 0.9177 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.6966, allocations: 106.7 kB / 0.9178 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.6973, allocations: 159.8 kB / 0.9179 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.7014, allocations: 4.638 MB / 0.9225 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/0.7022, allocations: 31.92 kB / 0.9225 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.7023, allocations: 24.09 kB / 0.9225 GB, free: 15.93 MB / 0.6544 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: 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.0005243/0.7028, allocations: 354.8 kB / 0.9228 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.703, allocations: 102.8 kB / 0.9229 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.7032, allocations: 109.2 kB / 0.923 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.7032, allocations: 8 kB / 0.9231 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7032, allocations: 3.828 kB / 0.9231 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/0.7044, allocations: 0.7691 MB / 0.9238 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.7076, allocations: 1.972 MB / 0.9257 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.7076, allocations: 4.406 kB / 0.9257 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.7083, allocations: 147.8 kB / 0.9259 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.928e-05/0.7084, allocations: 44.83 kB / 0.9259 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.7084, allocations: 16 kB / 0.9259 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.7099, allocations: 1.606 MB / 0.9275 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.7099, allocations: 7.938 kB / 0.9275 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.7117, allocations: 1.21 MB / 0.9287 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/0.7121, allocations: 255.9 kB / 0.9289 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.7122, allocations: 20 kB / 0.929 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/0.7129, allocations: 31.47 kB / 0.929 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.7131, allocations: 47.83 kB / 0.929 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.7131, allocations: 35.97 kB / 0.9291 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008067/0.714, allocations: 0.6083 MB / 0.9297 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.714, allocations: 4 kB / 0.9297 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008936/0.7149, allocations: 308 kB / 0.93 GB, free: 7.922 MB / 0.6544 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.002462/0.7173, allocations: 1.847 MB / 0.9318 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.7191, allocations: 1.105 MB / 0.9328 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.7191, allocations: 8.062 kB / 0.9329 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006502/0.7198, allocations: 446.2 kB / 0.9333 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.7225, allocations: 0.6453 MB / 0.9339 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.7341, allocations: 8.305 MB / 0.942 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008846/0.735, allocations: 1.177 MB / 0.9432 GB, free: 9.875 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009783/0.736, allocations: 260.4 kB / 0.9434 GB, free: 9.617 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.7365, allocations: 379.3 kB / 0.9438 GB, free: 9.246 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.7365, allocations: 0 / 0.9438 GB, free: 9.246 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07098/0.8075, allocations: 30.26 MB / 0.9733 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.26, allocations: 7.844 kB / 0.9733 GB, free: 11.55 MB / 0.7012 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)