Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_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.001685/0.001685, allocations: 112.5 kB / 15.73 MB, free: 76 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.001643/0.001644, allocations: 188.3 kB / 16.67 MB, free: 6.582 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.782/0.782, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.89 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3789, allocations: 80.21 MB / 0.6592 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2492/0.6281, allocations: 190.6 MB / 0.8453 GB, free: 6.973 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.6413, allocations: 5.715 MB / 0.8509 GB, free: 1.246 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.6428, allocations: 43.75 kB / 0.8509 GB, free: 1.203 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.6447, allocations: 0.5747 MB / 0.8515 GB, free: 0.625 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004794/0.6496, allocations: 1.832 MB / 0.8533 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.6527, allocations: 1.193 MB / 0.8544 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004171/0.6569, allocations: 2.955 MB / 0.8573 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.6585, allocations: 0.9586 MB / 0.8583 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.6607, allocations: 1.051 MB / 0.8593 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.663, allocations: 0.9223 MB / 0.8602 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003657/0.6633, allocations: 108 kB / 0.8603 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.6666, allocations: 1.426 MB / 0.8617 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007536/0.6674, allocations: 462.8 kB / 0.8621 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.6688, allocations: 0.6495 MB / 0.8628 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004633/0.6735, allocations: 2.145 MB / 0.8649 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6735, allocations: 0 / 0.8649 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6735, allocations: 0 / 0.8649 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.802e-05/0.6736, allocations: 4 kB / 0.8649 GB, free: 2.902 MB / 0.6856 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.004007/0.6776, allocations: 1.552 MB / 0.8664 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.6777, allocations: 12.03 kB / 0.8664 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003057/0.678, allocations: 135.2 kB / 0.8665 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.6802, allocations: 323 kB / 0.8668 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3212/1.001, allocations: 0.8632 MB / 0.8677 GB, free: 196.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/1.001, allocations: 61.72 kB / 0.8677 GB, free: 196.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/1.002, allocations: 83.62 kB / 0.8678 GB, free: 196.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/1.003, allocations: 0.9099 MB / 0.8687 GB, free: 195.9 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/1.004, allocations: 0 / 0.8687 GB, free: 195.9 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/1.004, allocations: 37.31 kB / 0.8687 GB, free: 195.9 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/1.004, allocations: 31.64 kB / 0.8688 GB, free: 195.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/1.005, allocations: 0.8245 MB / 0.8696 GB, free: 195.6 MB / 0.6856 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.005269/1.01, allocations: 3.516 MB / 0.873 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/1.011, allocations: 0.493 MB / 0.8735 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004745/1.012, allocations: 290.2 kB / 0.8738 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/1.012, allocations: 110.3 kB / 0.8739 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/1.012, allocations: 45.44 kB / 0.8739 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/1.012, allocations: 0.7812 kB / 0.8739 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.00385/1.016, allocations: 1.936 MB / 0.8758 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/1.016, allocations: 60.75 kB / 0.8759 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/1.017, allocations: 0.8058 MB / 0.8766 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/1.017, allocations: 42.33 kB / 0.8767 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/1.017, allocations: 479.8 kB / 0.8771 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/1.017, allocations: 183.5 kB / 0.8773 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.017, allocations: 110 kB / 0.8774 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.311e-05/1.018, allocations: 331.3 kB / 0.8777 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/1.018, allocations: 238.8 kB / 0.878 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/1.019, allocations: 370.5 kB / 0.8783 GB, free: 190.6 MB / 0.6856 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.003631/1.022, allocations: 1.528 MB / 0.8798 GB, free: 190 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.022, allocations: 2.469 kB / 0.8798 GB, free: 190 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001135/1.023, allocations: 0.7903 MB / 0.8806 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.023, allocations: 6.438 kB / 0.8806 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.023, allocations: 3.656 kB / 0.8806 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/1.024, allocations: 97.61 kB / 0.8807 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/1.024, allocations: 145.6 kB / 0.8808 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/1.027, allocations: 3.302 MB / 0.884 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/1.027, allocations: 26.94 kB / 0.8841 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/1.027, allocations: 21.72 kB / 0.8841 GB, free: 186.3 MB / 0.6856 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.0003282/1.028, allocations: 305.2 kB / 0.8844 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.028, allocations: 100.7 kB / 0.8845 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/1.028, allocations: 100.6 kB / 0.8846 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/1.028, allocations: 4.812 kB / 0.8846 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.028, allocations: 0 / 0.8846 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000857/1.029, allocations: 0.8373 MB / 0.8854 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/1.031, allocations: 1.793 MB / 0.8872 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.031, allocations: 3.438 kB / 0.8872 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/1.032, allocations: 132.6 kB / 0.8873 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001924/1.032, allocations: 68.5 kB / 0.8873 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/1.032, allocations: 23.7 kB / 0.8874 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/1.033, allocations: 1.783 MB / 0.8891 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.033, allocations: 3.625 kB / 0.8891 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/1.034, allocations: 1.098 MB / 0.8902 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/1.035, allocations: 238.4 kB / 0.8904 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/1.035, allocations: 14.59 kB / 0.8904 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/1.036, allocations: 29.75 kB / 0.8905 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/1.036, allocations: 53.45 kB / 0.8905 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/1.036, allocations: 30.67 kB / 0.8905 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005806/1.036, allocations: 0.559 MB / 0.8911 GB, free: 181 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/1.036, allocations: 0 / 0.8911 GB, free: 181 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000776/1.037, allocations: 290.4 kB / 0.8914 GB, free: 181 MB / 0.6856 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.001781/1.039, allocations: 1.727 MB / 0.893 GB, free: 179.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00117/1.04, allocations: 0.807 MB / 0.8938 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.04, allocations: 1.25 kB / 0.8938 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005157/1.041, allocations: 408.9 kB / 0.8942 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/1.043, allocations: 0.616 MB / 0.8948 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007998/1.051, allocations: 7.003 MB / 0.9017 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/1.052, allocations: 1.085 MB / 0.9027 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006883/1.052, allocations: 213.4 kB / 0.9029 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/1.053, allocations: 349.3 kB / 0.9033 GB, free: 172.9 MB / 0.6856 GB Notification: Performance of SimCode: time 3.3e-07/1.053, allocations: 0 / 0.9033 GB, free: 172.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05374/1.106, allocations: 28.08 MB / 0.9307 GB, free: 151 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.54, allocations: 8.453 kB / 0.9307 GB, free: 151 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)