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.001003/0.001003, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00102/0.00102, allocations: 191.4 kB / 16.25 MB, free: 6.625 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.245/1.245, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6764/0.6764, allocations: 132.2 MB / 422.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 63.84 kB / 0.5014 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.315, allocations: 80.2 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1653/0.4803, allocations: 188 MB / 0.7633 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007602/0.488, allocations: 5.653 MB / 0.7688 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008286/0.4888, allocations: 39.75 kB / 0.7688 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.49, allocations: 0.5053 MB / 0.7693 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.4931, allocations: 1.506 MB / 0.7708 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.4955, allocations: 1.101 MB / 0.7719 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002372/0.4979, allocations: 2.55 MB / 0.7744 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.4989, allocations: 1.008 MB / 0.7753 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.5003, allocations: 1.051 MB / 0.7764 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.5017, allocations: 0.911 MB / 0.7773 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.5018, allocations: 108 kB / 0.7774 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.5041, allocations: 1.617 MB / 0.7789 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.5045, allocations: 0.4949 MB / 0.7794 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.505, allocations: 0.6456 MB / 0.7801 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.5072, allocations: 2.248 MB / 0.7822 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5072, allocations: 4 kB / 0.7823 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5072, allocations: 0 / 0.7823 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.5072, allocations: 0 / 0.7823 GB, free: 1.566 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002079/0.5093, allocations: 1.527 MB / 0.7837 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.5093, allocations: 8.031 kB / 0.7837 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.5095, allocations: 139.3 kB / 0.7839 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0029/0.5124, allocations: 474.1 kB / 0.7843 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.5136, allocations: 0.8162 MB / 0.7851 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/0.514, allocations: 125.9 kB / 0.7853 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.5141, allocations: 84 kB / 0.7853 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.5161, allocations: 1.19 MB / 0.7865 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.5162, allocations: 0 / 0.7865 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.384e-05/0.5163, allocations: 39.98 kB / 0.7865 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/0.5163, allocations: 37.98 kB / 0.7866 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.5185, allocations: 1.07 MB / 0.7876 GB, free: 11.95 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.006042/0.5245, allocations: 4.335 MB / 0.7918 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.5263, allocations: 0.7619 MB / 0.7926 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008629/0.5272, allocations: 412.4 kB / 0.793 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.5274, allocations: 105.1 kB / 0.7931 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.5274, allocations: 38.56 kB / 0.7931 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.833e-06/0.5274, allocations: 0 / 0.7931 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.005329/0.5327, allocations: 2.209 MB / 0.7953 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.5328, allocations: 63.34 kB / 0.7953 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008882/0.5337, allocations: 0.8608 MB / 0.7962 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.5337, allocations: 41.7 kB / 0.7962 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.534, allocations: 495.3 kB / 0.7967 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.5342, allocations: 161.6 kB / 0.7968 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.5344, allocations: 130.1 kB / 0.797 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.5345, allocations: 326 kB / 0.7973 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008776/0.5354, allocations: 377 kB / 0.7976 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009671/0.5363, allocations: 0.5147 MB / 0.7981 GB, free: 0.707 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.005733/0.5421, allocations: 2.291 MB / 0.8004 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5421, allocations: 0 / 0.8004 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002126/0.5442, allocations: 1.002 MB / 0.8014 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5443, allocations: 4 kB / 0.8014 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5443, allocations: 7.938 kB / 0.8014 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5443, allocations: 8 kB / 0.8014 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/0.5452, allocations: 191.8 kB / 0.8016 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.5452, allocations: 8 kB / 0.8016 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.5463, allocations: 99.75 kB / 0.8017 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/0.5463, allocations: 27.98 kB / 0.8017 GB, free: 13 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.0004136/0.5467, allocations: 317.4 kB / 0.802 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.5469, allocations: 94.88 kB / 0.8021 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.5471, allocations: 108.7 kB / 0.8022 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.5471, allocations: 4 kB / 0.8022 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5471, allocations: 3.938 kB / 0.8022 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001825/0.5489, allocations: 1.03 MB / 0.8032 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/0.5531, allocations: 2.148 MB / 0.8053 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5531, allocations: 4 kB / 0.8053 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008453/0.5539, allocations: 168.2 kB / 0.8055 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.5539, allocations: 8 kB / 0.8055 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.554, allocations: 15.98 kB / 0.8055 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.554, allocations: 11.94 kB / 0.8055 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.554, allocations: 7.938 kB / 0.8055 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.5568, allocations: 1.453 MB / 0.8069 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.5571, allocations: 263.9 kB / 0.8072 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.5573, allocations: 19.98 kB / 0.8072 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009396/0.5582, allocations: 100.4 kB / 0.8073 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.5583, allocations: 39.89 kB / 0.8073 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/0.5584, allocations: 31.98 kB / 0.8074 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006381/0.559, allocations: 0.6005 MB / 0.8079 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.559, allocations: 0 / 0.8079 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007362/0.5598, allocations: 264 kB / 0.8082 GB, free: 6.074 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.00334/0.5631, allocations: 2.101 MB / 0.8102 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.5651, allocations: 0.8859 MB / 0.8111 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5652, allocations: 3.938 kB / 0.8111 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008887/0.5661, allocations: 397.8 kB / 0.8115 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.5683, allocations: 0.5841 MB / 0.8121 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2059/0.7742, allocations: 8.869 MB / 0.8207 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.7748, allocations: 1.106 MB / 0.8218 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009349/0.7757, allocations: 254.4 kB / 0.822 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.7762, allocations: 357.1 kB / 0.8224 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.7762, allocations: 0 / 0.8224 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.393/2.169, allocations: 28.34 MB / 0.8501 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/2.169, allocations: 290.1 kB / 0.8503 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/4.418, allocations: 0 / 0.8503 GB, free: 200.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)