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.00825/0.00825, allocations: 102.6 kB / 15.74 MB, free: 6.5 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.001778/0.001778, allocations: 196.8 kB / 16.68 MB, free: 6.375 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9673/0.9673, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.03 kB / 0.5858 GB, free: 3.164 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3972, allocations: 81.01 MB / 0.6649 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2125/0.6097, allocations: 190.6 MB / 0.851 GB, free: 1.652 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009949/0.6197, allocations: 5.709 MB / 0.8566 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.6209, allocations: 47.75 kB / 0.8566 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.6225, allocations: 0.5747 MB / 0.8572 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004485/0.627, allocations: 1.83 MB / 0.859 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.63, allocations: 1.19 MB / 0.8601 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004234/0.6343, allocations: 2.947 MB / 0.863 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.6356, allocations: 0.9615 MB / 0.8639 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.6374, allocations: 1.051 MB / 0.865 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.6393, allocations: 0.9236 MB / 0.8659 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.6395, allocations: 108 kB / 0.866 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.6424, allocations: 1.426 MB / 0.8674 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005012/0.6429, allocations: 458.8 kB / 0.8678 GB, free: 400 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.3589/1.002, allocations: 0.652 MB / 0.8684 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003447/1.005, allocations: 2.141 MB / 0.8705 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.005, allocations: 0 / 0.8705 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.693e-06/1.005, allocations: 2 kB / 0.8705 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.45e-05/1.005, allocations: 0 / 0.8705 GB, free: 6.242 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.00235/1.008, allocations: 1.552 MB / 0.872 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.008, allocations: 11.03 kB / 0.8721 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/1.008, allocations: 142.8 kB / 0.8722 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/1.01, allocations: 317.5 kB / 0.8725 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/1.011, allocations: 0.8644 MB / 0.8733 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/1.011, allocations: 63.91 kB / 0.8734 GB, free: 5 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/1.011, allocations: 87.55 kB / 0.8735 GB, free: 5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/1.013, allocations: 0.9066 MB / 0.8744 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/1.013, allocations: 1.594 kB / 0.8744 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-05/1.013, allocations: 38.66 kB / 0.8744 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/1.013, allocations: 34.53 kB / 0.8744 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.014, allocations: 0.8246 MB / 0.8752 GB, free: 4.934 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.004749/1.019, allocations: 3.511 MB / 0.8787 GB, free: 19.63 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/1.02, allocations: 0.4982 MB / 0.8792 GB, free: 19.61 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/1.02, allocations: 292.9 kB / 0.8794 GB, free: 19.6 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/1.021, allocations: 107.4 kB / 0.8795 GB, free: 19.5 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/1.021, allocations: 40.56 kB / 0.8796 GB, free: 19.46 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/1.021, allocations: 0 / 0.8796 GB, free: 19.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.004059/1.025, allocations: 1.935 MB / 0.8815 GB, free: 18.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/1.025, allocations: 60.41 kB / 0.8815 GB, free: 18.72 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009605/1.026, allocations: 0.8074 MB / 0.8823 GB, free: 18.59 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/1.026, allocations: 41.2 kB / 0.8824 GB, free: 18.55 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/1.026, allocations: 486.7 kB / 0.8828 GB, free: 18.34 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/1.026, allocations: 179.9 kB / 0.883 GB, free: 18.22 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.026, allocations: 120.3 kB / 0.8831 GB, free: 18.2 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.027, allocations: 325.4 kB / 0.8834 GB, free: 17.89 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/1.027, allocations: 243.9 kB / 0.8837 GB, free: 17.89 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/1.028, allocations: 366.4 kB / 0.884 GB, free: 17.79 MB / 0.7012 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.003572/1.031, allocations: 1.523 MB / 0.8855 GB, free: 17.58 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.031, allocations: 0.9688 kB / 0.8855 GB, free: 17.58 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001271/1.032, allocations: 0.7909 MB / 0.8863 GB, free: 17.48 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.032, allocations: 6.594 kB / 0.8863 GB, free: 17.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.032, allocations: 7.375 kB / 0.8863 GB, free: 17.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/1.033, allocations: 93.2 kB / 0.8864 GB, free: 17.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/1.033, allocations: 147.1 kB / 0.8865 GB, free: 17.46 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/1.036, allocations: 3.296 MB / 0.8897 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007673/1.037, allocations: 28.88 kB / 0.8898 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/1.037, allocations: 22.38 kB / 0.8898 GB, free: 14.77 MB / 0.7012 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.0004373/1.038, allocations: 306.7 kB / 0.8901 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/1.038, allocations: 98.61 kB / 0.8902 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/1.038, allocations: 101.5 kB / 0.8903 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.038, allocations: 12.97 kB / 0.8903 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.038, allocations: 0.8125 kB / 0.8903 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/1.039, allocations: 0.84 MB / 0.8911 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/1.041, allocations: 1.785 MB / 0.8928 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.041, allocations: 3.688 kB / 0.8928 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/1.042, allocations: 130.9 kB / 0.893 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/1.042, allocations: 70.3 kB / 0.893 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/1.042, allocations: 13.91 kB / 0.893 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/1.044, allocations: 1.792 MB / 0.8948 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.044, allocations: 7.812 kB / 0.8948 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/1.045, allocations: 1.104 MB / 0.8959 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/1.046, allocations: 236.4 kB / 0.8961 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.046, allocations: 13.03 kB / 0.8961 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/1.046, allocations: 32.14 kB / 0.8961 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/1.046, allocations: 46.42 kB / 0.8962 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/1.046, allocations: 29.69 kB / 0.8962 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006344/1.047, allocations: 0.5605 MB / 0.8968 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/1.047, allocations: 0 / 0.8968 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008369/1.048, allocations: 278.4 kB / 0.897 GB, free: 11.79 MB / 0.7012 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.002041/1.05, allocations: 1.739 MB / 0.8987 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001172/1.051, allocations: 0.8129 MB / 0.8995 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.051, allocations: 5.438 kB / 0.8995 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/1.052, allocations: 417.5 kB / 0.8999 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/1.054, allocations: 0.5927 MB / 0.9005 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007387/1.062, allocations: 6.998 MB / 0.9073 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/1.062, allocations: 1.084 MB / 0.9084 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000696/1.063, allocations: 214 kB / 0.9086 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/1.063, allocations: 348.3 kB / 0.9089 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of SimCode: time 3.8e-07/1.063, allocations: 4.422 kB / 0.9089 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05901/1.122, allocations: 28.08 MB / 0.9364 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.78, allocations: 9.703 kB / 0.9364 GB, free: 0.7852 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)