Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.001036/0.001036, allocations: 101.8 kB / 16.27 MB, free: 5.93 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.001005/0.001005, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.261/1.261, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7184/0.7184, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3311, allocations: 77.93 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4905/0.8216, allocations: 190.6 MB / 0.7534 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008639/0.8303, allocations: 5.737 MB / 0.759 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.8316, allocations: 39.78 kB / 0.759 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.8331, allocations: 0.5761 MB / 0.7596 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.8364, allocations: 1.627 MB / 0.7612 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.8394, allocations: 1.2 MB / 0.7623 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003204/0.8426, allocations: 2.56 MB / 0.7648 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.8438, allocations: 0.8882 MB / 0.7657 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.8455, allocations: 1.037 MB / 0.7667 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.8468, allocations: 0.8052 MB / 0.7675 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.847, allocations: 102.9 kB / 0.7676 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.8499, allocations: 1.542 MB / 0.7691 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.8503, allocations: 408.3 kB / 0.7695 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006906/0.851, allocations: 0.5856 MB / 0.7701 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.8536, allocations: 2.004 MB / 0.772 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.8536, allocations: 3.062 kB / 0.772 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8536, allocations: 0 / 0.772 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.8537, allocations: 0 / 0.772 GB, free: 1.441 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002288/0.856, allocations: 1.438 MB / 0.7734 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.856, allocations: 9.5 kB / 0.7734 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.8562, allocations: 125.4 kB / 0.7736 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.8588, allocations: 417.3 kB / 0.774 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.8601, allocations: 0.7679 MB / 0.7747 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003552/0.8604, allocations: 114.3 kB / 0.7748 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.8606, allocations: 72.53 kB / 0.7749 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.8623, allocations: 1 MB / 0.7759 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.8623, allocations: 0 / 0.7759 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.8624, allocations: 35.56 kB / 0.7759 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.8624, allocations: 30.61 kB / 0.7759 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.8642, allocations: 0.8815 MB / 0.7768 GB, free: 16.16 MB / 0.5919 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.00539/0.8696, allocations: 3.514 MB / 0.7802 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.8713, allocations: 0.619 MB / 0.7808 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007544/0.8721, allocations: 340.6 kB / 0.7811 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.8722, allocations: 104.8 kB / 0.7812 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.8723, allocations: 38.97 kB / 0.7813 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.104e-06/0.8723, allocations: 0.625 kB / 0.7813 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=41): time 0.007884/0.8802, allocations: 2.414 MB / 0.7836 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.8802, allocations: 62.14 kB / 0.7837 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008227/0.8811, allocations: 0.7946 MB / 0.7845 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/0.8811, allocations: 35.27 kB / 0.7845 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.8814, allocations: 453.3 kB / 0.7849 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.8815, allocations: 145.9 kB / 0.7851 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.8817, allocations: 107.4 kB / 0.7852 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8818, allocations: 328.1 kB / 0.7855 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007593/0.8826, allocations: 307.5 kB / 0.7858 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008256/0.8834, allocations: 414 kB / 0.7862 GB, free: 13.21 MB / 0.5919 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.005242/0.8887, allocations: 1.911 MB / 0.7881 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.8887, allocations: 3.031 kB / 0.7881 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003171/0.8919, allocations: 1.045 MB / 0.7891 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.8919, allocations: 5.781 kB / 0.7891 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.8919, allocations: 6.594 kB / 0.7891 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.8925, allocations: 194.5 kB / 0.7893 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/0.8933, allocations: 149.3 kB / 0.7894 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.8973, allocations: 2.232 MB / 0.7916 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.8985, allocations: 51.75 kB / 0.7916 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.8986, allocations: 25.09 kB / 0.7917 GB, free: 11.43 MB / 0.5919 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: 12 * 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 (59): * Single equations (assignments): 58 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005427/0.8991, allocations: 280.2 kB / 0.7919 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.8993, allocations: 88.75 kB / 0.792 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.8994, allocations: 95.58 kB / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.8995, allocations: 7.328 kB / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8995, allocations: 0 / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00277/0.9022, allocations: 0.9044 MB / 0.793 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005215/0.9075, allocations: 2.106 MB / 0.7951 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.9075, allocations: 4.375 kB / 0.7951 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/0.9081, allocations: 126.5 kB / 0.7952 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005524/0.9087, allocations: 191.5 kB / 0.7954 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.9088, allocations: 13.5 kB / 0.7954 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003462/0.9122, allocations: 2.195 MB / 0.7975 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9122, allocations: 7.938 kB / 0.7975 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.9161, allocations: 1.441 MB / 0.7989 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.9166, allocations: 239 kB / 0.7992 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.9167, allocations: 12.28 kB / 0.7992 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008565/0.9175, allocations: 62.08 kB / 0.7992 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.9177, allocations: 38.41 kB / 0.7993 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/0.9177, allocations: 31.14 kB / 0.7993 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006653/0.9184, allocations: 0.5489 MB / 0.7998 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9184, allocations: 4 kB / 0.7998 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008796/0.9193, allocations: 274 kB / 0.8001 GB, free: 8.609 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004381/0.9237, allocations: 2.08 MB / 0.8021 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.9258, allocations: 0.8472 MB / 0.803 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.9258, allocations: 1.344 kB / 0.803 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.9268, allocations: 468.7 kB / 0.8034 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.9296, allocations: 0.549 MB / 0.8039 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.9445, allocations: 7.974 MB / 0.8117 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.9451, allocations: 1.04 MB / 0.8127 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009286/0.9461, allocations: 206.7 kB / 0.8129 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/0.9465, allocations: 317.3 kB / 0.8132 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/0.9465, allocations: 5.094 kB / 0.8133 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05376/1, allocations: 27.63 MB / 0.8402 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.74, allocations: 14.78 kB / 0.8402 GB, free: 10.87 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_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_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)