Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000956/0.0009561, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8325/0.8325, allocations: 133.6 MB / 141.6 MB, free: 2.926 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009683/0.0009685, allocations: 103.3 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.041e-05, allocations: 4 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4888, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.387/5.876, allocations: 1.881 GB / 2.515 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/5.876, allocations: 87.95 kB / 2.515 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.265/8.141, allocations: 0.5699 GB / 3.085 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/8.141, allocations: 0 / 3.085 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001163/8.141, allocations: 27.12 kB / 3.085 GB, free: 102.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00314/8.144, allocations: 1.228 MB / 3.086 GB, free: 101 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/8.144, allocations: 8.031 kB / 3.086 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/8.147, allocations: 432 kB / 3.087 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/8.148, allocations: 0.7735 MB / 3.088 GB, free: 99.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/8.149, allocations: 101.9 kB / 3.088 GB, free: 99.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/8.149, allocations: 44 kB / 3.088 GB, free: 99.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001094/8.15, allocations: 0.6599 MB / 3.088 GB, free: 99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/8.151, allocations: 0.7824 MB / 3.089 GB, free: 98.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/8.151, allocations: 0 / 3.089 GB, free: 98.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-05/8.151, allocations: 0 / 3.089 GB, free: 98.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/8.151, allocations: 30 kB / 3.089 GB, free: 98.16 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004683/8.156, allocations: 3.215 MB / 3.092 GB, free: 94.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/8.157, allocations: 412.7 kB / 3.093 GB, free: 94.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/8.157, allocations: 229.8 kB / 3.093 GB, free: 94.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/8.157, allocations: 101.4 kB / 3.093 GB, free: 94.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/8.157, allocations: 44.86 kB / 3.093 GB, free: 94 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 3.186e-06/8.157, allocations: 0 / 3.093 GB, free: 94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.003573/8.161, allocations: 1.432 MB / 3.095 GB, free: 92.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/8.161, allocations: 55.41 kB / 3.095 GB, free: 92.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/8.161, allocations: 0.5036 MB / 3.095 GB, free: 91.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/8.161, allocations: 29.7 kB / 3.095 GB, free: 91.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/8.161, allocations: 454.9 kB / 3.096 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.474e-05/8.162, allocations: 142 kB / 3.096 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/8.162, allocations: 0 / 3.096 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/8.162, allocations: 378.8 kB / 3.096 GB, free: 90.94 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/8.162, allocations: 197.1 kB / 3.096 GB, free: 90.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/8.162, allocations: 317.8 kB / 3.097 GB, free: 90.39 MB / 0.6823 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.002317/8.165, allocations: 1.004 MB / 3.098 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/8.165, allocations: 0 / 3.098 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001931/8.167, allocations: 0.7966 MB / 3.098 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/8.167, allocations: 8 kB / 3.098 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/8.167, allocations: 4.094 kB / 3.098 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003235/8.167, allocations: 136.7 kB / 3.098 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/8.168, allocations: 139.8 kB / 3.099 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/8.17, allocations: 1.748 MB / 3.1 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009894/8.171, allocations: 71.84 kB / 3.1 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/8.171, allocations: 23.98 kB / 3.1 GB, free: 86.32 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002185/8.171, allocations: 129.7 kB / 3.1 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001855/8.173, allocations: 0.661 MB / 3.101 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/8.173, allocations: 83.09 kB / 3.101 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/8.173, allocations: 78.92 kB / 3.101 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/8.173, allocations: 4 kB / 3.101 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/8.173, allocations: 3.938 kB / 3.101 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001601/8.175, allocations: 0.6959 MB / 3.102 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/8.178, allocations: 1.674 MB / 3.104 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/8.178, allocations: 4 kB / 3.104 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/8.179, allocations: 116.2 kB / 3.104 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003018/8.179, allocations: 140.7 kB / 3.104 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/8.179, allocations: 7.938 kB / 3.104 GB, free: 82.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/8.181, allocations: 1.745 MB / 3.106 GB, free: 80.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-06/8.181, allocations: 15.92 kB / 3.106 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/8.183, allocations: 1.256 MB / 3.107 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004901/8.183, allocations: 212.2 kB / 3.107 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/8.184, allocations: 4 kB / 3.107 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009149/8.185, allocations: 91.78 kB / 3.107 GB, free: 79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/8.185, allocations: 35.89 kB / 3.107 GB, free: 78.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/8.185, allocations: 23.98 kB / 3.107 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004571/8.185, allocations: 399.1 kB / 3.108 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/8.185, allocations: 0 / 3.108 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0014/8.187, allocations: 363.6 kB / 3.108 GB, free: 78.21 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004336/8.191, allocations: 4.089 MB / 3.112 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001103/8.192, allocations: 0.5771 MB / 3.112 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/8.192, allocations: 4 kB / 3.112 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004787/8.193, allocations: 354.8 kB / 3.113 GB, free: 73.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/8.195, allocations: 394.8 kB / 3.113 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/8.199, allocations: 1.562 MB / 3.115 GB, free: 71.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/8.2, allocations: 1.063 MB / 3.116 GB, free: 70.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007983/8.201, allocations: 173.8 kB / 3.116 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/8.201, allocations: 315.3 kB / 3.116 GB, free: 69.59 MB / 0.6823 GB Notification: Performance of SimCode: time 8.61e-07/8.201, allocations: 0 / 3.116 GB, free: 69.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05564/8.257, allocations: 31.07 MB / 3.147 GB, free: 38.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/8.257, allocations: 215.4 kB / 3.147 GB, free: 38.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/11.23, allocations: 7.938 kB / 3.147 GB, free: 38.38 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)