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.001508/0.001508, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001661/0.001661, 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7324/0.7324, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 64.44 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1293, allocations: 77.92 MB / 0.6441 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4898/0.6191, allocations: 190.6 MB / 0.8302 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008805/0.6279, allocations: 5.738 MB / 0.8358 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.6292, allocations: 44.09 kB / 0.8358 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.6307, allocations: 0.5937 MB / 0.8364 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003732/0.6344, allocations: 1.69 MB / 0.8381 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.6372, allocations: 1.231 MB / 0.8393 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002706/0.64, allocations: 2.574 MB / 0.8418 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009717/0.6409, allocations: 0.8746 MB / 0.8426 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.6425, allocations: 1.088 MB / 0.8437 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.6439, allocations: 0.8032 MB / 0.8445 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.644, allocations: 95.81 kB / 0.8446 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.6466, allocations: 1.553 MB / 0.8461 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000372/0.647, allocations: 402.5 kB / 0.8465 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.6475, allocations: 0.5833 MB / 0.8471 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.6499, allocations: 2.031 MB / 0.849 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.65, allocations: 4 kB / 0.849 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.65, allocations: 0 / 0.849 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.65, allocations: 1.781 kB / 0.849 GB, free: 8.777 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00214/0.6521, allocations: 1.466 MB / 0.8505 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.6522, allocations: 9.469 kB / 0.8505 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/0.6523, allocations: 126.5 kB / 0.8506 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.6549, allocations: 422.3 kB / 0.851 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.6562, allocations: 0.8027 MB / 0.8518 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.6563, allocations: 58.56 kB / 0.8518 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.6564, allocations: 75.28 kB / 0.8519 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.6581, allocations: 0.992 MB / 0.8529 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.6581, allocations: 3.953 kB / 0.8529 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/0.6582, allocations: 31.09 kB / 0.8529 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.6583, allocations: 33.84 kB / 0.853 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.6602, allocations: 0.8783 MB / 0.8538 GB, free: 5.156 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.005532/0.6657, allocations: 3.479 MB / 0.8572 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.6673, allocations: 0.6047 MB / 0.8578 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/0.668, allocations: 339.5 kB / 0.8581 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.6682, allocations: 101.4 kB / 0.8582 GB, free: 440 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.6682, allocations: 40.34 kB / 0.8583 GB, free: 392 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.294e-06/0.6682, allocations: 4 kB / 0.8583 GB, free: 388 kB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.007726/0.676, allocations: 2.395 MB / 0.8606 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.676, allocations: 59.34 kB / 0.8607 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.6769, allocations: 0.8018 MB / 0.8614 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.677, allocations: 37.7 kB / 0.8615 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.6773, allocations: 452.5 kB / 0.8619 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.6774, allocations: 150.7 kB / 0.8621 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.6776, allocations: 106.2 kB / 0.8622 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6777, allocations: 326 kB / 0.8625 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000754/0.6785, allocations: 304.9 kB / 0.8628 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008157/0.6793, allocations: 408.1 kB / 0.8631 GB, free: 11.22 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.005089/0.6844, allocations: 1.874 MB / 0.865 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6844, allocations: 4 kB / 0.865 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003063/0.6875, allocations: 1.035 MB / 0.866 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6875, allocations: 7.938 kB / 0.866 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6875, allocations: 12.08 kB / 0.866 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.6881, allocations: 188.7 kB / 0.8662 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.6888, allocations: 139.8 kB / 0.8663 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.6926, allocations: 2.239 MB / 0.8685 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009288/0.6936, allocations: 43.95 kB / 0.8686 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.035e-05/0.6936, allocations: 27.98 kB / 0.8686 GB, free: 5.457 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: 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.0004333/0.6941, allocations: 282.1 kB / 0.8688 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.6942, allocations: 95.56 kB / 0.8689 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.6944, allocations: 96.23 kB / 0.869 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.6944, allocations: 7.984 kB / 0.869 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6944, allocations: 7.938 kB / 0.869 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002749/0.6972, allocations: 0.8984 MB / 0.8699 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005001/0.7022, allocations: 2.092 MB / 0.872 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.7022, allocations: 4 kB / 0.872 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.7028, allocations: 136.1 kB / 0.8721 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005375/0.7034, allocations: 180.7 kB / 0.8723 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.7034, allocations: 11.98 kB / 0.8723 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003474/0.7069, allocations: 2.191 MB / 0.8744 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.7069, allocations: 8 kB / 0.8744 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/0.7107, allocations: 1.418 MB / 0.8758 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005128/0.7112, allocations: 248.4 kB / 0.8761 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.7114, allocations: 12.06 kB / 0.8761 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009129/0.7123, allocations: 57.97 kB / 0.8761 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.7124, allocations: 43.83 kB / 0.8762 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-05/0.7125, allocations: 31.98 kB / 0.8762 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007906/0.7133, allocations: 0.5536 MB / 0.8767 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7133, allocations: 0 / 0.8767 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009984/0.7143, allocations: 271.9 kB / 0.877 GB, free: 12.48 MB / 0.6387 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.004494/0.7188, allocations: 2.069 MB / 0.879 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.7209, allocations: 0.8015 MB / 0.8798 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.7209, allocations: 4 kB / 0.8798 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009461/0.7219, allocations: 471.4 kB / 0.8802 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.7244, allocations: 0.5387 MB / 0.8808 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.7398, allocations: 7.692 MB / 0.8883 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.7405, allocations: 1.04 MB / 0.8893 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007501/0.7412, allocations: 203.2 kB / 0.8895 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/0.7417, allocations: 315.3 kB / 0.8898 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.7417, allocations: 4 kB / 0.8898 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.058/0.7997, allocations: 27.81 MB / 0.917 GB, free: 3.617 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.48, allocations: 4.188 kB / 0.917 GB, free: 3.613 MB / 0.67 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)