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.006781/0.006782, allocations: 101.8 kB / 15.73 MB, free: 6.062 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.001304/0.001304, allocations: 192 kB / 16.67 MB, free: 5.973 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8103/0.8103, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 66.61 kB / 0.5809 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1678, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5536/0.7215, allocations: 190.6 MB / 0.8453 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009657/0.7312, allocations: 5.711 MB / 0.8509 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.7325, allocations: 37.31 kB / 0.8509 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.7341, allocations: 0.5798 MB / 0.8515 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.7383, allocations: 1.831 MB / 0.8533 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.7412, allocations: 1.19 MB / 0.8545 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003506/0.7447, allocations: 2.942 MB / 0.8573 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.7459, allocations: 0.9539 MB / 0.8583 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.7475, allocations: 1.053 MB / 0.8593 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.7492, allocations: 0.9218 MB / 0.8602 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.7494, allocations: 109.8 kB / 0.8603 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.7523, allocations: 1.426 MB / 0.8617 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004989/0.7528, allocations: 462.8 kB / 0.8621 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007588/0.7536, allocations: 0.6495 MB / 0.8628 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003124/0.7567, allocations: 2.152 MB / 0.8649 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7567, allocations: 0 / 0.8649 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7567, allocations: 4 kB / 0.8649 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.7567, allocations: 0 / 0.8649 GB, free: 3.605 MB / 0.6231 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.00245/0.7592, allocations: 1.545 MB / 0.8664 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.7592, allocations: 12.03 kB / 0.8664 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001774/0.7594, allocations: 140.4 kB / 0.8665 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.7613, allocations: 323 kB / 0.8668 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.7627, allocations: 0.8676 MB / 0.8677 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.7628, allocations: 65.94 kB / 0.8677 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.7629, allocations: 84 kB / 0.8678 GB, free: 488 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.7646, allocations: 0.9152 MB / 0.8687 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.7646, allocations: 3.938 kB / 0.8687 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/0.7647, allocations: 36 kB / 0.8687 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.7647, allocations: 34 kB / 0.8688 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.7662, allocations: 0.8198 MB / 0.8696 GB, free: 14.66 MB / 0.6387 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.005323/0.7715, allocations: 3.507 MB / 0.873 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.7724, allocations: 0.4966 MB / 0.8735 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004748/0.7728, allocations: 300.6 kB / 0.8738 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.773, allocations: 101.5 kB / 0.8739 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.7731, allocations: 47 kB / 0.8739 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.113e-06/0.7731, allocations: 4 kB / 0.8739 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003979/0.7771, allocations: 1.932 MB / 0.8758 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.7771, allocations: 55.84 kB / 0.8759 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.7782, allocations: 0.8097 MB / 0.8767 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.7782, allocations: 37.7 kB / 0.8767 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.7787, allocations: 484.3 kB / 0.8772 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.7788, allocations: 178.5 kB / 0.8773 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.779, allocations: 118.2 kB / 0.8774 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.7792, allocations: 334 kB / 0.8778 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.7797, allocations: 241.1 kB / 0.878 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005702/0.7803, allocations: 371 kB / 0.8783 GB, free: 5.254 MB / 0.6387 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.00377/0.784, allocations: 1.518 MB / 0.8798 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.784, allocations: 4 kB / 0.8798 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001394/0.7854, allocations: 0.7849 MB / 0.8806 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.7855, allocations: 8.344 kB / 0.8806 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.7855, allocations: 8 kB / 0.8806 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003022/0.7858, allocations: 89.64 kB / 0.8807 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.7865, allocations: 143.8 kB / 0.8808 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/0.7898, allocations: 3.319 MB / 0.8841 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.7905, allocations: 31.88 kB / 0.8841 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.7906, allocations: 24 kB / 0.8841 GB, free: 14.98 MB / 0.6544 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.0004537/0.791, allocations: 293.6 kB / 0.8844 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.7912, allocations: 95.44 kB / 0.8845 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.7914, allocations: 100.7 kB / 0.8846 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.7914, allocations: 4 kB / 0.8846 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7914, allocations: 11.94 kB / 0.8846 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001124/0.7925, allocations: 0.8387 MB / 0.8854 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.7953, allocations: 1.792 MB / 0.8872 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7953, allocations: 4 kB / 0.8872 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.7959, allocations: 127.8 kB / 0.8873 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002189/0.7962, allocations: 68.81 kB / 0.8874 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.7962, allocations: 24.08 kB / 0.8874 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.7979, allocations: 1.785 MB / 0.8891 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7979, allocations: 4 kB / 0.8891 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.7996, allocations: 1.112 MB / 0.8902 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.7999, allocations: 232.5 kB / 0.8904 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.8, allocations: 16 kB / 0.8905 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.8007, allocations: 27.98 kB / 0.8905 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.8008, allocations: 51.88 kB / 0.8905 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.8008, allocations: 27.98 kB / 0.8906 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007249/0.8016, allocations: 0.5576 MB / 0.8911 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8016, allocations: 0 / 0.8911 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008169/0.8024, allocations: 287.9 kB / 0.8914 GB, free: 7.129 MB / 0.6544 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.002385/0.8048, allocations: 1.723 MB / 0.8931 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.8062, allocations: 0.8115 MB / 0.8939 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8062, allocations: 4 kB / 0.8939 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.8068, allocations: 407.7 kB / 0.8942 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.8094, allocations: 0.6141 MB / 0.8948 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.8196, allocations: 7.004 MB / 0.9017 GB, free: 12.22 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007708/0.8204, allocations: 1.084 MB / 0.9027 GB, free: 11.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007591/0.8211, allocations: 215.7 kB / 0.903 GB, free: 10.89 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/0.8216, allocations: 351.3 kB / 0.9033 GB, free: 10.55 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.8216, allocations: 0 / 0.9033 GB, free: 10.55 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/0.8868, allocations: 28.07 MB / 0.9307 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.62, allocations: 0 / 0.9307 GB, free: 14.83 MB / 0.7012 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/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)