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.001278/0.001278, 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.001324/0.001324, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.273/1.273, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.179/1.179, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.69 kB / 0.505 GB, free: 5.59 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1596, allocations: 80.93 MB / 0.584 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4334/0.5931, allocations: 188.1 MB / 0.7677 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008168/0.6013, allocations: 5.678 MB / 0.7732 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.6026, allocations: 35.75 kB / 0.7732 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.6042, allocations: 0.5209 MB / 0.7738 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.6084, allocations: 1.72 MB / 0.7754 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.611, allocations: 1.089 MB / 0.7765 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.6141, allocations: 2.941 MB / 0.7794 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.6154, allocations: 0.9372 MB / 0.7803 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.6171, allocations: 1.062 MB / 0.7813 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.6191, allocations: 0.9594 MB / 0.7823 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.6194, allocations: 115.9 kB / 0.7824 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.6216, allocations: 1.512 MB / 0.7838 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.6221, allocations: 462.8 kB / 0.7843 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008787/0.623, allocations: 0.6535 MB / 0.7849 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.6255, allocations: 2.22 MB / 0.7871 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6255, allocations: 0 / 0.7871 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6255, allocations: 0 / 0.7871 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.122e-05/0.6256, allocations: 0 / 0.7871 GB, free: 13.24 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00257/0.6281, allocations: 1.523 MB / 0.7886 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6282, allocations: 12.03 kB / 0.7886 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/0.6284, allocations: 139.2 kB / 0.7887 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.6303, allocations: 310.4 kB / 0.789 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.6315, allocations: 0.8162 MB / 0.7898 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.6316, allocations: 66 kB / 0.7899 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.6317, allocations: 83.94 kB / 0.79 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.6333, allocations: 0.9131 MB / 0.7908 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.6333, allocations: 4 kB / 0.7909 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.6334, allocations: 43.94 kB / 0.7909 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.6334, allocations: 33.98 kB / 0.7909 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.6347, allocations: 0.8275 MB / 0.7917 GB, free: 8.375 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.004509/0.6393, allocations: 3.513 MB / 0.7952 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.64, allocations: 0.4974 MB / 0.7957 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.6404, allocations: 293.4 kB / 0.7959 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.6406, allocations: 105.5 kB / 0.796 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.6406, allocations: 43 kB / 0.7961 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 3.016e-06/0.6406, allocations: 7.984 kB / 0.7961 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.003571/0.6442, allocations: 1.915 MB / 0.798 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.6442, allocations: 55.84 kB / 0.798 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008609/0.6451, allocations: 0.8097 MB / 0.7988 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.6452, allocations: 37.7 kB / 0.7988 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.6455, allocations: 471.4 kB / 0.7993 GB, free: 268 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.6456, allocations: 173.5 kB / 0.7994 GB, free: 92 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.6458, allocations: 114.3 kB / 0.7996 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6459, allocations: 337.9 kB / 0.7999 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.6463, allocations: 240.3 kB / 0.8001 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.6468, allocations: 366.9 kB / 0.8005 GB, free: 15 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.003388/0.6502, allocations: 1.531 MB / 0.802 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6502, allocations: 4 kB / 0.802 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001167/0.6514, allocations: 0.777 MB / 0.8027 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6514, allocations: 8 kB / 0.8027 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.6514, allocations: 7.875 kB / 0.8027 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.6517, allocations: 97.64 kB / 0.8028 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.6523, allocations: 143.8 kB / 0.803 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.195/0.8474, allocations: 3.315 MB / 0.8062 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.8495, allocations: 51.88 kB / 0.8062 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.8498, allocations: 20 kB / 0.8063 GB, free: 8.703 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 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.00105/0.8508, allocations: 301.6 kB / 0.8066 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/0.8513, allocations: 90.97 kB / 0.8066 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.8518, allocations: 104.7 kB / 0.8067 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.8518, allocations: 4 kB / 0.8067 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.8518, allocations: 3.938 kB / 0.8067 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00244/0.8543, allocations: 0.8349 MB / 0.8076 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006838/0.8611, allocations: 1.794 MB / 0.8093 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.8612, allocations: 0 / 0.8093 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.8623, allocations: 136.2 kB / 0.8094 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.8628, allocations: 69.67 kB / 0.8095 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.848e-05/0.8629, allocations: 12 kB / 0.8095 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004288/0.8672, allocations: 1.792 MB / 0.8113 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/0.8673, allocations: 4 kB / 0.8113 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/0.8718, allocations: 1.099 MB / 0.8123 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.8729, allocations: 232 kB / 0.8126 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/0.8734, allocations: 19.94 kB / 0.8126 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.8751, allocations: 64.52 kB / 0.8127 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.8753, allocations: 43.83 kB / 0.8127 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004251/0.8758, allocations: 31.98 kB / 0.8127 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001934/0.8777, allocations: 0.5615 MB / 0.8133 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.81e-07/0.8777, allocations: 0 / 0.8133 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00222/0.88, allocations: 292 kB / 0.8136 GB, free: 0.8398 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 (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.004851/0.8848, allocations: 1.727 MB / 0.8152 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003015/0.8879, allocations: 0.8579 MB / 0.8161 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.8879, allocations: 4.062 kB / 0.8161 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.8893, allocations: 414.9 kB / 0.8165 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/0.8943, allocations: 0.6027 MB / 0.8171 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/0.9164, allocations: 7.615 MB / 0.8245 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.9177, allocations: 1.084 MB / 0.8256 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001988/0.9197, allocations: 211.7 kB / 0.8258 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009359/0.9207, allocations: 351.3 kB / 0.8261 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of SimCode: time 1.452e-06/0.9207, allocations: 3.938 kB / 0.8261 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2713/1.192, allocations: 27.61 MB / 0.8531 GB, free: 8.434 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004646/1.193, allocations: 281 kB / 0.8533 GB, free: 8.059 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.375/5.567, allocations: 0 / 0.8533 GB, free: 8.059 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)