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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007929/0.0007929, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008199/0.0008199, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8744/0.8744, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002114/0.002114, allocations: 232.8 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6688/0.6688, allocations: 138.4 MB / 454.3 MB, free: 1.668 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 1.094 kB / 0.6463 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.311e-05, allocations: 6.281 kB / 0.6463 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1253/0.1253, allocations: 168.2 MB / 0.8106 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.006179/0.1315, allocations: 5.414 MB / 0.8159 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006649/0.1321, allocations: 51.56 kB / 0.8159 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.1331, allocations: 0.5666 MB / 0.8165 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.136, allocations: 1.951 MB / 0.8184 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.1379, allocations: 1.237 MB / 0.8196 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002274/0.1402, allocations: 3.054 MB / 0.8226 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007861/0.141, allocations: 0.8202 MB / 0.8234 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.1423, allocations: 1.465 MB / 0.8248 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1434, allocations: 0.9394 MB / 0.8257 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.1435, allocations: 120 kB / 0.8258 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.1451, allocations: 1.231 MB / 0.827 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003666/0.1455, allocations: 0.6155 MB / 0.8276 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.1459, allocations: 0.5185 MB / 0.8282 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.1477, allocations: 2.38 MB / 0.8305 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1477, allocations: 0 / 0.8305 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1477, allocations: 0 / 0.8305 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.1477, allocations: 4 kB / 0.8305 GB, free: 4.434 MB / 0.6667 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.001687/0.1494, allocations: 1.563 MB / 0.832 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1494, allocations: 8.75 kB / 0.832 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.1496, allocations: 164.1 kB / 0.8322 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.1506, allocations: 338.8 kB / 0.8325 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/0.1516, allocations: 0.8499 MB / 0.8333 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.1516, allocations: 74 kB / 0.8334 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.1517, allocations: 96 kB / 0.8335 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.153, allocations: 1.529 MB / 0.835 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1531, allocations: 4 kB / 0.835 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/0.1531, allocations: 47.94 kB / 0.835 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.1532, allocations: 41.97 kB / 0.8351 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.1543, allocations: 0.9837 MB / 0.836 GB, free: 14.56 MB / 0.6823 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.003375/0.1576, allocations: 2.907 MB / 0.8389 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.1582, allocations: 0.5709 MB / 0.8394 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.1585, allocations: 318.7 kB / 0.8397 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.1586, allocations: 24.48 kB / 0.8398 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1587, allocations: 51.05 kB / 0.8398 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 1.984e-06/0.1587, allocations: 0 / 0.8398 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55): time 0.002472/0.1611, allocations: 1.906 MB / 0.8417 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1612, allocations: 63.84 kB / 0.8417 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000687/0.1619, allocations: 0.8921 MB / 0.8426 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.1619, allocations: 41.64 kB / 0.8426 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.1621, allocations: 0.5157 MB / 0.8431 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1623, allocations: 214.2 kB / 0.8433 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.1624, allocations: 126.6 kB / 0.8435 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.1625, allocations: 333.9 kB / 0.8438 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.1628, allocations: 285.8 kB / 0.8441 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.1632, allocations: 484.5 kB / 0.8445 GB, free: 5.633 MB / 0.6823 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.002208/0.1654, allocations: 1.681 MB / 0.8462 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1654, allocations: 0 / 0.8462 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0009871/0.1664, allocations: 0.9366 MB / 0.8471 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1664, allocations: 4 kB / 0.8471 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1664, allocations: 4 kB / 0.8471 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/0.1665, allocations: 98.45 kB / 0.8472 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.1669, allocations: 163.8 kB / 0.8473 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.169, allocations: 4.314 MB / 0.8515 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.1694, allocations: 31.92 kB / 0.8516 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.1694, allocations: 28.38 kB / 0.8516 GB, free: 13.96 MB / 0.698 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.0003392/0.1698, allocations: 350.1 kB / 0.8519 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.1699, allocations: 103.4 kB / 0.852 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-05/0.17, allocations: 105.2 kB / 0.8521 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.17, allocations: 11.98 kB / 0.8521 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.17, allocations: 0 / 0.8521 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000745/0.1707, allocations: 0.7638 MB / 0.8529 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.1726, allocations: 1.808 MB / 0.8547 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1726, allocations: 4.406 kB / 0.8547 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.1729, allocations: 151.8 kB / 0.8548 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.914e-05/0.173, allocations: 40.83 kB / 0.8548 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.173, allocations: 16 kB / 0.8549 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000716/0.1737, allocations: 1.494 MB / 0.8563 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1737, allocations: 3.938 kB / 0.8563 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1748, allocations: 1.203 MB / 0.8575 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.175, allocations: 179.3 kB / 0.8577 GB, free: 7.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.1751, allocations: 23.92 kB / 0.8577 GB, free: 7.387 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.1755, allocations: 39.19 kB / 0.8577 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.1756, allocations: 48.09 kB / 0.8578 GB, free: 7.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.1756, allocations: 31.98 kB / 0.8578 GB, free: 7.273 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004785/0.1761, allocations: 0.6122 MB / 0.8584 GB, free: 6.664 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 0.8584 GB, free: 6.664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005729/0.1767, allocations: 308 kB / 0.8587 GB, free: 6.363 MB / 0.698 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.001461/0.1781, allocations: 1.833 MB / 0.8605 GB, free: 4.465 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.1791, allocations: 0.9792 MB / 0.8614 GB, free: 3.449 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1791, allocations: 4 kB / 0.8615 GB, free: 3.445 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.1795, allocations: 435.8 kB / 0.8619 GB, free: 3.008 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.181, allocations: 0.6492 MB / 0.8625 GB, free: 2.367 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2186/0.3996, allocations: 7.901 MB / 0.8702 GB, free: 211.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.4, allocations: 0.5713 MB / 0.8708 GB, free: 211.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006388/0.4006, allocations: 251.3 kB / 0.871 GB, free: 211.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.401, allocations: 385.6 kB / 0.8714 GB, free: 211.3 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/0.401, allocations: 0 / 0.8714 GB, free: 211.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/0.4432, allocations: 33.59 MB / 0.9042 GB, free: 187.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.676/9.119, allocations: 12 kB / 0.9042 GB, free: 187.4 MB / 0.698 GB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.91790615208447] Failed to read output from testmodel.py, exit status != 0: 9.223293007351458 9.232421442 9.082335875 Calling exit ...