Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001365/0.001365, allocations: 104.6 kB / 16.4 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.001503/0.001503, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7136/0.7136, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 72.48 kB / 0.568 GB, free: 28.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1259, allocations: 77.93 MB / 0.6441 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4696/0.5955, allocations: 190.3 MB / 0.8299 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008436/0.604, allocations: 5.699 MB / 0.8355 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.6053, allocations: 40.22 kB / 0.8355 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.6068, allocations: 0.59 MB / 0.8361 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.6106, allocations: 1.671 MB / 0.8377 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.6136, allocations: 1.221 MB / 0.8389 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00287/0.6165, allocations: 2.522 MB / 0.8414 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.6176, allocations: 0.9829 MB / 0.8423 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.6192, allocations: 1.065 MB / 0.8434 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.6206, allocations: 0.8174 MB / 0.8442 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.6208, allocations: 99.66 kB / 0.8443 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.6233, allocations: 1.532 MB / 0.8458 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.6237, allocations: 491.4 kB / 0.8462 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.6243, allocations: 0.6279 MB / 0.8469 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.6268, allocations: 2.106 MB / 0.8489 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6269, allocations: 4 kB / 0.8489 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6269, allocations: 0 / 0.8489 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.6269, allocations: 2.438 kB / 0.8489 GB, free: 8.871 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002107/0.629, allocations: 1.516 MB / 0.8504 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.629, allocations: 10.19 kB / 0.8504 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.6292, allocations: 140.6 kB / 0.8505 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.6311, allocations: 339 kB / 0.8509 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.6324, allocations: 0.8181 MB / 0.8517 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.6325, allocations: 69.27 kB / 0.8517 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.6326, allocations: 83.72 kB / 0.8518 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.6342, allocations: 1.067 MB / 0.8529 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.6342, allocations: 7.938 kB / 0.8529 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.6343, allocations: 36 kB / 0.8529 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/0.6344, allocations: 37.98 kB / 0.8529 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.6358, allocations: 0.8275 MB / 0.8537 GB, free: 5.062 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.005215/0.6411, allocations: 4.275 MB / 0.8579 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.6417, allocations: 372.2 kB / 0.8583 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.642, allocations: 214 kB / 0.8585 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.6421, allocations: 97.09 kB / 0.8586 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.6422, allocations: 43.16 kB / 0.8586 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.6422, allocations: 0 / 0.8586 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.002389/0.6446, allocations: 1.348 MB / 0.8599 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.6446, allocations: 59.41 kB / 0.86 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.6459, allocations: 0.9967 MB / 0.8609 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.6459, allocations: 37.7 kB / 0.861 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.6463, allocations: 0.5002 MB / 0.8615 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.6464, allocations: 146.7 kB / 0.8616 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.6466, allocations: 122.2 kB / 0.8617 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6467, allocations: 334 kB / 0.862 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.6472, allocations: 237.2 kB / 0.8623 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.6477, allocations: 423.8 kB / 0.8627 GB, free: 11.41 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.002355/0.6501, allocations: 1.214 MB / 0.8639 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6501, allocations: 4 kB / 0.8639 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001342/0.6515, allocations: 0.7712 MB / 0.8646 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.6515, allocations: 8 kB / 0.8646 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.6515, allocations: 4 kB / 0.8646 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.6515, allocations: 19.88 kB / 0.8647 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.6521, allocations: 144.1 kB / 0.8648 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.6521, allocations: 11.94 kB / 0.8648 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009034/0.653, allocations: 51.95 kB / 0.8649 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.6531, allocations: 35.98 kB / 0.8649 GB, free: 9.047 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 system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0004095/0.6535, allocations: 312.8 kB / 0.8652 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.6537, allocations: 107.3 kB / 0.8653 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.6539, allocations: 105 kB / 0.8654 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.6539, allocations: 7.984 kB / 0.8654 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6539, allocations: 0 / 0.8654 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006371/0.6545, allocations: 0.6827 MB / 0.8661 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.6568, allocations: 1.584 MB / 0.8676 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6568, allocations: 8 kB / 0.8676 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.6572, allocations: 83.84 kB / 0.8677 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.6572, allocations: 8 kB / 0.8677 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.6573, allocations: 12.48 kB / 0.8677 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.6573, allocations: 15.94 kB / 0.8677 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6573, allocations: 4 kB / 0.8677 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.6583, allocations: 0.8241 MB / 0.8685 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.6587, allocations: 244.4 kB / 0.8688 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.6588, allocations: 19.92 kB / 0.8688 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006868/0.6595, allocations: 31.97 kB / 0.8688 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.6596, allocations: 39.84 kB / 0.8689 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.6596, allocations: 27.98 kB / 0.8689 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009534/0.6606, allocations: 0.7077 MB / 0.8696 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6606, allocations: 0 / 0.8696 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008531/0.6615, allocations: 255.9 kB / 0.8698 GB, free: 3.691 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001624/0.6631, allocations: 1.491 MB / 0.8713 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009401/0.6641, allocations: 0.5115 MB / 0.8718 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6641, allocations: 0 / 0.8718 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.6643, allocations: 194.7 kB / 0.872 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.6671, allocations: 0.6123 MB / 0.8726 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00965/0.6767, allocations: 7.613 MB / 0.88 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.6774, allocations: 1.103 MB / 0.8811 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008132/0.6782, allocations: 248.3 kB / 0.8813 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.6786, allocations: 343.3 kB / 0.8816 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.6786, allocations: 4 kB / 0.8816 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05107/0.7297, allocations: 27.78 MB / 0.9088 GB, free: 11.72 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.9/9.629, allocations: 6.469 kB / 0.9088 GB, free: 11.72 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)