Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_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.001595/0.001595, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7941/0.7941, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 66.73 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3716, allocations: 80.2 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2046/0.5763, allocations: 190.5 MB / 0.7662 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009546/0.5858, allocations: 5.693 MB / 0.7717 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.5873, allocations: 39.75 kB / 0.7718 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.5891, allocations: 0.5669 MB / 0.7723 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.5932, allocations: 1.61 MB / 0.7739 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.5964, allocations: 1.197 MB / 0.7751 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002982/0.5994, allocations: 2.55 MB / 0.7776 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.6008, allocations: 1.043 MB / 0.7786 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.6028, allocations: 1.047 MB / 0.7796 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.6046, allocations: 0.8448 MB / 0.7804 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.6048, allocations: 108 kB / 0.7805 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.6077, allocations: 1.551 MB / 0.7821 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004929/0.6082, allocations: 0.4988 MB / 0.7825 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006907/0.6089, allocations: 0.6533 MB / 0.7832 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.6114, allocations: 2.158 MB / 0.7853 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6115, allocations: 0 / 0.7853 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6115, allocations: 0 / 0.7853 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.6115, allocations: 0 / 0.7853 GB, free: 14.8 MB / 0.6231 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.002421/0.6139, allocations: 1.524 MB / 0.7868 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.614, allocations: 12.03 kB / 0.7868 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.6141, allocations: 139.3 kB / 0.7869 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.6173, allocations: 466.1 kB / 0.7874 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.6187, allocations: 0.824 MB / 0.7882 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.6191, allocations: 121.9 kB / 0.7883 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.6193, allocations: 95.98 kB / 0.7884 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.6217, allocations: 1.175 MB / 0.7895 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.6217, allocations: 0 / 0.7895 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.6219, allocations: 40 kB / 0.7896 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/0.6219, allocations: 37.92 kB / 0.7896 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.6243, allocations: 1.081 MB / 0.7907 GB, free: 9.176 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.00763/0.632, allocations: 4.35 MB / 0.7949 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.6341, allocations: 0.7561 MB / 0.7956 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000986/0.6351, allocations: 416.4 kB / 0.796 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/0.6353, allocations: 113.1 kB / 0.7961 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.6354, allocations: 38.56 kB / 0.7962 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.675e-06/0.6354, allocations: 0 / 0.7962 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.006426/0.6418, allocations: 2.206 MB / 0.7983 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.6419, allocations: 55.41 kB / 0.7984 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.643, allocations: 0.8608 MB / 0.7992 GB, free: 20 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.46e-05/0.6431, allocations: 45.64 kB / 0.7993 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.6435, allocations: 487.3 kB / 0.7997 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.6436, allocations: 169.7 kB / 0.7999 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.6439, allocations: 122.1 kB / 0.8 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.644, allocations: 330 kB / 0.8003 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.6451, allocations: 377 kB / 0.8007 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.6462, allocations: 0.5108 MB / 0.8012 GB, free: 13.93 MB / 0.6387 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.006565/0.6528, allocations: 2.283 MB / 0.8034 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.6528, allocations: 4 kB / 0.8034 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002515/0.6553, allocations: 0.9938 MB / 0.8044 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.6554, allocations: 8.125 kB / 0.8044 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.6554, allocations: 11.94 kB / 0.8044 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.6554, allocations: 4 kB / 0.8044 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009906/0.6564, allocations: 199.6 kB / 0.8046 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.6564, allocations: 8 kB / 0.8046 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.6576, allocations: 75.64 kB / 0.8047 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.6577, allocations: 24 kB / 0.8047 GB, free: 10.26 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.0005396/0.6582, allocations: 317.5 kB / 0.805 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.6584, allocations: 94.88 kB / 0.8051 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.6586, allocations: 112.7 kB / 0.8052 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.6586, allocations: 4 kB / 0.8052 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6586, allocations: 0 / 0.8052 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002069/0.6607, allocations: 1.03 MB / 0.8062 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/0.6654, allocations: 2.145 MB / 0.8083 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.6655, allocations: 4 kB / 0.8083 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009411/0.6664, allocations: 172.1 kB / 0.8085 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.6664, allocations: 8 kB / 0.8085 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.6665, allocations: 19.98 kB / 0.8085 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.6665, allocations: 7.938 kB / 0.8085 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6665, allocations: 15.81 kB / 0.8085 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.6698, allocations: 1.453 MB / 0.81 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.6702, allocations: 252 kB / 0.8102 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.6703, allocations: 15.98 kB / 0.8102 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009659/0.6713, allocations: 72.53 kB / 0.8103 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.6714, allocations: 31.95 kB / 0.8103 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/0.6715, allocations: 27.98 kB / 0.8103 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007227/0.6722, allocations: 0.6005 MB / 0.8109 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.462e-06/0.6722, allocations: 4 kB / 0.8109 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008042/0.673, allocations: 275.9 kB / 0.8112 GB, free: 3.355 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.U,volDyn.dynBal.mXi[1],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.003725/0.6767, allocations: 2.105 MB / 0.8132 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.6791, allocations: 0.8898 MB / 0.8141 GB, free: 312 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6791, allocations: 0 / 0.8141 GB, free: 312 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.2305/0.9096, allocations: 391.8 kB / 0.8145 GB, free: 221 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/0.9126, allocations: 0.5748 MB / 0.815 GB, free: 221 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.9274, allocations: 8.548 MB / 0.8234 GB, free: 217 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.928, allocations: 1.106 MB / 0.8245 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001157/0.9292, allocations: 259.7 kB / 0.8247 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/0.9297, allocations: 357.6 kB / 0.8251 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/0.9297, allocations: 0 / 0.8251 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/0.9784, allocations: 28.59 MB / 0.853 GB, free: 199 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.871, allocations: 14.31 kB / 0.853 GB, free: 199 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)