Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.001228/0.001228, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001019/0.001019, allocations: 191.9 kB / 17.34 MB, free: 5.75 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 / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7176/0.7176, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.53 kB / 0.568 GB, free: 28.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 77.92 MB / 0.6441 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4611/0.5877, allocations: 190.4 MB / 0.8301 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008443/0.5962, allocations: 5.719 MB / 0.8356 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007477/0.597, allocations: 37 kB / 0.8357 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.5983, allocations: 0.5953 MB / 0.8363 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.6019, allocations: 1.904 MB / 0.8381 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.6044, allocations: 1.196 MB / 0.8393 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.607, allocations: 2.955 MB / 0.8422 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.6081, allocations: 1.124 MB / 0.8433 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.6094, allocations: 1.105 MB / 0.8443 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.6108, allocations: 0.9663 MB / 0.8453 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.6109, allocations: 123.3 kB / 0.8454 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.6132, allocations: 1.451 MB / 0.8468 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.6136, allocations: 0.5675 MB / 0.8474 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006391/0.6143, allocations: 0.7224 MB / 0.8481 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.6166, allocations: 2.349 MB / 0.8504 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6166, allocations: 3.938 kB / 0.8504 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6166, allocations: 6.844 kB / 0.8504 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.6167, allocations: 0 / 0.8504 GB, free: 8.035 MB / 0.6075 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.0023/0.619, allocations: 1.648 MB / 0.852 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.619, allocations: 10.12 kB / 0.852 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.6192, allocations: 164.7 kB / 0.8522 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.6211, allocations: 331.3 kB / 0.8525 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.6226, allocations: 0.9166 MB / 0.8534 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.6227, allocations: 81.88 kB / 0.8535 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.6228, allocations: 103.9 kB / 0.8536 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.6245, allocations: 1.085 MB / 0.8546 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.6246, allocations: 0 / 0.8546 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.716e-05/0.6247, allocations: 40 kB / 0.8547 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/0.6247, allocations: 45.92 kB / 0.8547 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.6263, allocations: 0.9876 MB / 0.8557 GB, free: 3.395 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.005539/0.6318, allocations: 4.238 MB / 0.8598 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008544/0.6327, allocations: 0.5872 MB / 0.8604 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/0.6332, allocations: 348.6 kB / 0.8607 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.6334, allocations: 101.5 kB / 0.8608 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.6334, allocations: 39 kB / 0.8608 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 1.563e-06/0.6334, allocations: 0 / 0.8608 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.003688/0.6371, allocations: 2.222 MB / 0.863 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.6372, allocations: 59.91 kB / 0.8631 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000964/0.6382, allocations: 0.8882 MB / 0.8639 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.6382, allocations: 37.7 kB / 0.864 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.6386, allocations: 0.5235 MB / 0.8645 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.6387, allocations: 202.2 kB / 0.8647 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.6389, allocations: 138.6 kB / 0.8648 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.639, allocations: 337.9 kB / 0.8651 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.6395, allocations: 281.8 kB / 0.8654 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.6401, allocations: 440.9 kB / 0.8658 GB, free: 8.445 MB / 0.6231 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.00374/0.6438, allocations: 1.744 MB / 0.8675 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6438, allocations: 3.938 kB / 0.8675 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001387/0.6452, allocations: 0.9301 MB / 0.8684 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6452, allocations: 8 kB / 0.8684 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6452, allocations: 4.5 kB / 0.8684 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/0.6454, allocations: 102.5 kB / 0.8685 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.6462, allocations: 159.8 kB / 0.8687 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.6495, allocations: 4.634 MB / 0.8732 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007814/0.6503, allocations: 31.94 kB / 0.8733 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.6503, allocations: 24 kB / 0.8733 GB, free: 308 kB / 0.6231 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.000424/0.6508, allocations: 349.6 kB / 0.8736 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.6509, allocations: 103.4 kB / 0.8737 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.6511, allocations: 109.2 kB / 0.8738 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.6511, allocations: 4 kB / 0.8738 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6511, allocations: 0 / 0.8738 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/0.6522, allocations: 0.7691 MB / 0.8746 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.6552, allocations: 2 MB / 0.8765 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6553, allocations: 0 / 0.8765 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.6559, allocations: 144.2 kB / 0.8767 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.689e-05/0.656, allocations: 48.77 kB / 0.8767 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.6561, allocations: 16 kB / 0.8767 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.6573, allocations: 1.61 MB / 0.8783 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6573, allocations: 0 / 0.8783 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.6589, allocations: 1.209 MB / 0.8795 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.6594, allocations: 264.3 kB / 0.8797 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.6595, allocations: 16 kB / 0.8797 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/0.6602, allocations: 40.09 kB / 0.8798 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.6603, allocations: 47.83 kB / 0.8798 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.6604, allocations: 31.98 kB / 0.8799 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007189/0.6611, allocations: 0.6161 MB / 0.8805 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6611, allocations: 0 / 0.8805 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008605/0.662, allocations: 304 kB / 0.8807 GB, free: 8.27 MB / 0.6387 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.002221/0.6642, allocations: 1.857 MB / 0.8826 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.6657, allocations: 1.014 MB / 0.8835 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6657, allocations: 4 kB / 0.8836 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/0.6663, allocations: 447.6 kB / 0.884 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.669, allocations: 0.6549 MB / 0.8846 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.6793, allocations: 7.965 MB / 0.8924 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/0.68, allocations: 1.166 MB / 0.8935 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007768/0.6808, allocations: 248.4 kB / 0.8938 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/0.6813, allocations: 387.3 kB / 0.8941 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.6813, allocations: 0 / 0.8941 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0543/0.7356, allocations: 30.48 MB / 0.9239 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.28, allocations: 6.062 kB / 0.9239 GB, free: 12.07 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)