Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.005056/0.005056, allocations: 96.62 kB / 15.73 MB, free: 6.016 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.001137/0.001138, allocations: 192 kB / 16.67 MB, free: 5.926 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7928/0.7928, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.81 kB / 0.5852 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1374, allocations: 80.92 MB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.513/0.6505, allocations: 190.6 MB / 0.8503 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008994/0.6595, allocations: 5.716 MB / 0.8559 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.6608, allocations: 39.16 kB / 0.8559 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.6624, allocations: 0.5936 MB / 0.8565 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00413/0.6665, allocations: 1.904 MB / 0.8583 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.6693, allocations: 1.204 MB / 0.8595 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.6724, allocations: 2.946 MB / 0.8624 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.6735, allocations: 0.9535 MB / 0.8633 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.6751, allocations: 1.101 MB / 0.8644 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.6766, allocations: 0.9142 MB / 0.8653 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.6768, allocations: 108 kB / 0.8654 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.6794, allocations: 1.442 MB / 0.8668 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004049/0.6798, allocations: 450.7 kB / 0.8672 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006957/0.6805, allocations: 0.6534 MB / 0.8679 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.683, allocations: 2.155 MB / 0.87 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.683, allocations: 0 / 0.87 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.683, allocations: 0 / 0.87 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.6831, allocations: 4 kB / 0.87 GB, free: 12.66 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002282/0.6853, allocations: 1.549 MB / 0.8715 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6854, allocations: 9.109 kB / 0.8715 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.6856, allocations: 143.2 kB / 0.8716 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.6875, allocations: 314.3 kB / 0.8719 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.6888, allocations: 0.8676 MB / 0.8728 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.6889, allocations: 73.88 kB / 0.8729 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.689, allocations: 84 kB / 0.8729 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.6906, allocations: 0.9092 MB / 0.8738 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.6906, allocations: 0 / 0.8738 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/0.6907, allocations: 36 kB / 0.8739 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.6907, allocations: 30 kB / 0.8739 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.6921, allocations: 0.8237 MB / 0.8747 GB, free: 7.73 MB / 0.6387 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.005019/0.6971, allocations: 3.522 MB / 0.8781 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007363/0.6979, allocations: 0.4929 MB / 0.8786 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.6983, allocations: 298 kB / 0.8789 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.6985, allocations: 97.53 kB / 0.879 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.6986, allocations: 50.98 kB / 0.879 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 1.904e-06/0.6986, allocations: 0 / 0.879 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003835/0.7024, allocations: 1.936 MB / 0.8809 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.7025, allocations: 55.84 kB / 0.881 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009447/0.7034, allocations: 0.8058 MB / 0.8818 GB, free: 112 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.7035, allocations: 37.7 kB / 0.8818 GB, free: 68 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.7038, allocations: 484.3 kB / 0.8823 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.704, allocations: 182.5 kB / 0.8824 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.7042, allocations: 118.2 kB / 0.8826 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7043, allocations: 330 kB / 0.8829 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.7047, allocations: 237.2 kB / 0.8831 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.7052, allocations: 370.9 kB / 0.8835 GB, free: 14.32 MB / 0.6544 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.003674/0.7089, allocations: 1.526 MB / 0.8849 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7089, allocations: 0 / 0.8849 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00131/0.7102, allocations: 0.7853 MB / 0.8857 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7103, allocations: 8 kB / 0.8857 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7103, allocations: 4 kB / 0.8857 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/0.7106, allocations: 93.64 kB / 0.8858 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.7112, allocations: 147.7 kB / 0.886 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002959/0.7142, allocations: 3.308 MB / 0.8892 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.7149, allocations: 33.8 kB / 0.8892 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.715, allocations: 20 kB / 0.8892 GB, free: 8.051 MB / 0.6544 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003645/0.7153, allocations: 297.6 kB / 0.8895 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.7155, allocations: 99.39 kB / 0.8896 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.7157, allocations: 100.7 kB / 0.8897 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.7157, allocations: 8 kB / 0.8897 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7157, allocations: 3.938 kB / 0.8897 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/0.7168, allocations: 0.8388 MB / 0.8905 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.7194, allocations: 1.791 MB / 0.8923 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.7194, allocations: 4 kB / 0.8923 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.72, allocations: 127.8 kB / 0.8924 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/0.7202, allocations: 73.05 kB / 0.8925 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.7203, allocations: 12 kB / 0.8925 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.7219, allocations: 1.795 MB / 0.8942 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7219, allocations: 4 kB / 0.8943 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.7234, allocations: 1.105 MB / 0.8953 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.7237, allocations: 236.4 kB / 0.8956 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.7239, allocations: 16 kB / 0.8956 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/0.7246, allocations: 31.91 kB / 0.8956 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.7247, allocations: 47.95 kB / 0.8956 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.7248, allocations: 27.98 kB / 0.8957 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006302/0.7254, allocations: 0.5615 MB / 0.8962 GB, free: 488 kB / 0.6544 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7254, allocations: 0 / 0.8962 GB, free: 488 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008035/0.7262, allocations: 283.9 kB / 0.8965 GB, free: 204 kB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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): 44 * 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.002495/0.7287, allocations: 1.729 MB / 0.8982 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.7301, allocations: 0.8154 MB / 0.899 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.7301, allocations: 4 kB / 0.899 GB, free: 13.56 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.7306, allocations: 419.7 kB / 0.8994 GB, free: 13.14 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.7332, allocations: 0.6124 MB / 0.9 GB, free: 12.55 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008788/0.742, allocations: 6.991 MB / 0.9068 GB, free: 5.266 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.7427, allocations: 1.084 MB / 0.9079 GB, free: 4.152 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000638/0.7433, allocations: 215.6 kB / 0.9081 GB, free: 3.938 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.7438, allocations: 351.3 kB / 0.9084 GB, free: 3.594 MB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.7438, allocations: 0 / 0.9084 GB, free: 3.594 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07975/0.8235, allocations: 28.07 MB / 0.9358 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.02, allocations: 0 / 0.9358 GB, free: 7.895 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)