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.0007815/0.0007818, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009457/0.0009462, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7454/0.7454, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 12.59 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4374, allocations: 81.57 MB / 0.5831 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1934/0.6308, allocations: 173.4 MB / 0.7525 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008267/0.6391, allocations: 5.402 MB / 0.7578 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.6409, allocations: 31.81 kB / 0.7578 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.6426, allocations: 405.4 kB / 0.7582 GB, free: 12.78 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004232/0.6468, allocations: 1.372 MB / 0.7595 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.6494, allocations: 0.8456 MB / 0.7603 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00409/0.6535, allocations: 3.442 MB / 0.7637 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.6548, allocations: 0.7142 MB / 0.7644 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.6566, allocations: 0.8829 MB / 0.7653 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.6583, allocations: 0.8639 MB / 0.7661 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.6586, allocations: 40 kB / 0.7661 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.6608, allocations: 0.6976 MB / 0.7668 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000543/0.6614, allocations: 390.8 kB / 0.7672 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.6618, allocations: 265.1 kB / 0.7674 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.6635, allocations: 1.485 MB / 0.7689 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.6635, allocations: 0 / 0.7689 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6635, allocations: 3.938 kB / 0.7689 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.506e-05/0.6635, allocations: 0 / 0.7689 GB, free: 1.758 MB / 0.5919 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.002249/0.6658, allocations: 1.297 MB / 0.7702 GB, free: 416 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6658, allocations: 12.03 kB / 0.7702 GB, free: 404 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.6661, allocations: 139.2 kB / 0.7703 GB, free: 256 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.668, allocations: 318.2 kB / 0.7706 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.6692, allocations: 0.7934 MB / 0.7714 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.6693, allocations: 62 kB / 0.7714 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.6694, allocations: 80 kB / 0.7715 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.671, allocations: 0.9131 MB / 0.7724 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.6711, allocations: 0 / 0.7724 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.431e-05/0.6712, allocations: 40 kB / 0.7725 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.6712, allocations: 33.95 kB / 0.7725 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.6727, allocations: 0.8315 MB / 0.7733 GB, free: 13.14 MB / 0.6075 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.005487/0.6782, allocations: 3.529 MB / 0.7767 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.679, allocations: 0.5005 MB / 0.7772 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.6795, allocations: 298.8 kB / 0.7775 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.6797, allocations: 101.5 kB / 0.7776 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.6797, allocations: 39 kB / 0.7777 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 3.486e-06/0.6797, allocations: 0 / 0.7777 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.004104/0.6838, allocations: 1.942 MB / 0.7796 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6839, allocations: 59.84 kB / 0.7796 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009927/0.6849, allocations: 0.8018 MB / 0.7804 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.685, allocations: 41.69 kB / 0.7804 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.6853, allocations: 475.3 kB / 0.7809 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.6855, allocations: 173.5 kB / 0.781 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.6856, allocations: 12 kB / 0.7811 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6857, allocations: 337.9 kB / 0.7814 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.6861, allocations: 245.2 kB / 0.7816 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.6867, allocations: 363 kB / 0.782 GB, free: 3.824 MB / 0.6075 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.002684/0.6894, allocations: 1.006 MB / 0.7829 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6894, allocations: 0 / 0.7829 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001318/0.6907, allocations: 0.7848 MB / 0.7837 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.6907, allocations: 10.03 kB / 0.7837 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.6907, allocations: 4 kB / 0.7837 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.691, allocations: 93.64 kB / 0.7838 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.6917, allocations: 151.8 kB / 0.784 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.6944, allocations: 3.064 MB / 0.787 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008126/0.6953, allocations: 51.94 kB / 0.787 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.6953, allocations: 23.95 kB / 0.787 GB, free: 14.35 MB / 0.6231 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. 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004655/0.6958, allocations: 305.5 kB / 0.7873 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.696, allocations: 90.97 kB / 0.7874 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.6962, allocations: 100.7 kB / 0.7875 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6962, allocations: 8 kB / 0.7875 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6962, allocations: 0 / 0.7875 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/0.6972, allocations: 0.8466 MB / 0.7883 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.7001, allocations: 1.806 MB / 0.7901 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.7001, allocations: 8 kB / 0.7901 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.7007, allocations: 143.8 kB / 0.7902 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.701, allocations: 73.02 kB / 0.7903 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.701, allocations: 12 kB / 0.7903 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.7026, allocations: 1.651 MB / 0.7919 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.7026, allocations: 11.88 kB / 0.7919 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.7042, allocations: 1.099 MB / 0.793 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.7046, allocations: 232 kB / 0.7932 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.7048, allocations: 19.98 kB / 0.7933 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/0.7055, allocations: 65.34 kB / 0.7933 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.7056, allocations: 47.84 kB / 0.7934 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.7057, allocations: 31.98 kB / 0.7934 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006806/0.7063, allocations: 0.5497 MB / 0.7939 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7064, allocations: 0 / 0.7939 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008804/0.7072, allocations: 292 kB / 0.7942 GB, free: 6.57 MB / 0.6231 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 (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.002082/0.7093, allocations: 1.721 MB / 0.7959 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.7107, allocations: 0.8038 MB / 0.7967 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.7107, allocations: 0 / 0.7967 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006274/0.7114, allocations: 421.2 kB / 0.7971 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.7141, allocations: 0.5929 MB / 0.7977 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008344/0.7224, allocations: 5.429 MB / 0.803 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007122/0.7232, allocations: 1.087 MB / 0.804 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009078/0.7241, allocations: 219.6 kB / 0.8042 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/0.7246, allocations: 347.3 kB / 0.8046 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of SimCode: time 7.02e-07/0.7246, allocations: 0 / 0.8046 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3349/1.06, allocations: 27.34 MB / 0.8313 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/1.06, allocations: 264.6 kB / 0.8315 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.369, allocations: 0 / 0.8315 GB, free: 210.2 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) Environment - environmentSimulation: