Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001266/0.001266, allocations: 103.9 kB / 16.4 MB, free: 6.465 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.00117/0.00117, 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7786/0.7786, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 59.81 kB / 0.5736 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.13, allocations: 78.87 MB / 0.6506 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4812/0.6113, allocations: 190.5 MB / 0.8367 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008826/0.6201, allocations: 5.707 MB / 0.8422 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009032/0.6211, allocations: 43.16 kB / 0.8423 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.6225, allocations: 0.5704 MB / 0.8428 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.6261, allocations: 1.611 MB / 0.8444 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.6289, allocations: 1.216 MB / 0.8456 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002725/0.6317, allocations: 2.554 MB / 0.8481 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.6329, allocations: 1.029 MB / 0.8491 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.6347, allocations: 1.209 MB / 0.8503 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.6363, allocations: 0.8487 MB / 0.8511 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.6364, allocations: 108.1 kB / 0.8512 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.6389, allocations: 1.544 MB / 0.8527 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.6394, allocations: 0.4913 MB / 0.8532 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.6401, allocations: 0.6453 MB / 0.8538 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.6427, allocations: 2.182 MB / 0.856 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6427, allocations: 0 / 0.856 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6427, allocations: 3 kB / 0.856 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.6427, allocations: 0 / 0.856 GB, free: 1.008 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002422/0.6451, allocations: 1.559 MB / 0.8575 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.6452, allocations: 12.62 kB / 0.8575 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.6454, allocations: 143.3 kB / 0.8576 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/0.6483, allocations: 478.8 kB / 0.8581 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.6498, allocations: 0.8598 MB / 0.8589 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.6498, allocations: 66 kB / 0.859 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.65, allocations: 91.92 kB / 0.8591 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.6522, allocations: 1.171 MB / 0.8602 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.6522, allocations: 3.938 kB / 0.8602 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6524, allocations: 39.98 kB / 0.8603 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.6524, allocations: 34 kB / 0.8603 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.6548, allocations: 1.07 MB / 0.8613 GB, free: 11.42 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.006825/0.6617, allocations: 4.463 MB / 0.8657 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.6637, allocations: 0.7521 MB / 0.8664 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009688/0.6647, allocations: 408.5 kB / 0.8668 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.6649, allocations: 101.1 kB / 0.8669 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.6649, allocations: 38.56 kB / 0.8669 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.6649, allocations: 0 / 0.8669 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.005792/0.6707, allocations: 2.196 MB / 0.8691 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.6708, allocations: 59.41 kB / 0.8692 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.6718, allocations: 0.8608 MB / 0.87 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.6719, allocations: 37.7 kB / 0.87 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.6723, allocations: 0.504 MB / 0.8705 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.6725, allocations: 166.6 kB / 0.8707 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.6727, allocations: 118.3 kB / 0.8708 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6729, allocations: 334 kB / 0.8711 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009627/0.6738, allocations: 365 kB / 0.8715 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.6749, allocations: 0.5052 MB / 0.872 GB, free: 64 kB / 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.006269/0.6812, allocations: 2.266 MB / 0.8742 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6812, allocations: 1.125 kB / 0.8742 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002361/0.6836, allocations: 0.9903 MB / 0.8751 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6836, allocations: 11.98 kB / 0.8751 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6836, allocations: 11.88 kB / 0.8752 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.6837, allocations: 8 kB / 0.8752 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009346/0.6846, allocations: 183.9 kB / 0.8753 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.6846, allocations: 15.92 kB / 0.8754 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/0.6855, allocations: 63.94 kB / 0.8754 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.6856, allocations: 28 kB / 0.8754 GB, free: 12.41 MB / 0.6387 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 (73): * Single equations (assignments): 73 * 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.0004455/0.6861, allocations: 313.5 kB / 0.8757 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.6862, allocations: 100.3 kB / 0.8758 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.6865, allocations: 108.7 kB / 0.8759 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.6865, allocations: 7.984 kB / 0.8759 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6865, allocations: 0 / 0.8759 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002081/0.6886, allocations: 1.026 MB / 0.8769 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/0.6931, allocations: 2.133 MB / 0.879 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.6931, allocations: 4 kB / 0.879 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008708/0.694, allocations: 176.1 kB / 0.8792 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.694, allocations: 4 kB / 0.8792 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.6941, allocations: 19.98 kB / 0.8792 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.6941, allocations: 9.5 kB / 0.8792 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6941, allocations: 4 kB / 0.8792 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/0.6972, allocations: 1.415 MB / 0.8806 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.6976, allocations: 260.4 kB / 0.8809 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.6977, allocations: 15.98 kB / 0.8809 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008714/0.6986, allocations: 71.88 kB / 0.881 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.6987, allocations: 31.95 kB / 0.881 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/0.6988, allocations: 31.97 kB / 0.881 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007657/0.6996, allocations: 0.5966 MB / 0.8816 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6996, allocations: 0 / 0.8816 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007936/0.7004, allocations: 271.9 kB / 0.8819 GB, free: 5.57 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 (45): * Single equations (assignments): 45 * 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.00379/0.7042, allocations: 2.084 MB / 0.8839 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.7063, allocations: 0.8071 MB / 0.8847 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7063, allocations: 0 / 0.8847 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009706/0.7072, allocations: 389 kB / 0.8851 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.7097, allocations: 0.5838 MB / 0.8856 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.7242, allocations: 8.229 MB / 0.8937 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000759/0.7249, allocations: 1.106 MB / 0.8947 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008614/0.7258, allocations: 263.8 kB / 0.895 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.7264, allocations: 351.3 kB / 0.8953 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of SimCode: time 5.62e-07/0.7264, allocations: 0 / 0.8953 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05912/0.7855, allocations: 28.71 MB / 0.9234 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.321/10.11, allocations: 7.969 kB / 0.9234 GB, free: 11.12 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)