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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 173.9 kB / 7.648 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.7849/0.7849, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.532/1.532, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009414/0.0009413, allocations: 103.3 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.543e-05/2.546e-05, allocations: 4 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5402/0.5403, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.674/6.214, allocations: 1.881 GB / 2.515 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/6.215, allocations: 84.58 kB / 2.515 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.209/8.423, allocations: 457.4 MB / 2.962 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.472e-06/8.423, allocations: 3.375 kB / 2.962 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001572/8.424, allocations: 31.23 kB / 2.962 GB, free: 152.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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003989/8.428, allocations: 1.249 MB / 2.963 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/8.428, allocations: 14.28 kB / 2.963 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/8.43, allocations: 308.5 kB / 2.963 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/8.431, allocations: 0.8412 MB / 2.964 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/8.432, allocations: 28.31 kB / 2.964 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/8.432, allocations: 55.64 kB / 2.964 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/8.433, allocations: 0.712 MB / 2.965 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/8.434, allocations: 0.8208 MB / 2.966 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/8.434, allocations: 0 / 2.966 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/8.434, allocations: 7.828 kB / 2.966 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/8.434, allocations: 30.72 kB / 2.966 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005092/8.44, allocations: 3.268 MB / 2.969 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/8.44, allocations: 452.2 kB / 2.97 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/8.44, allocations: 242.5 kB / 2.97 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/8.441, allocations: 109.9 kB / 2.97 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/8.441, allocations: 49.59 kB / 2.97 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 1.683e-06/8.441, allocations: 0 / 2.97 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.002628/8.443, allocations: 1.314 MB / 2.971 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/8.443, allocations: 58.22 kB / 2.971 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/8.444, allocations: 0.5191 MB / 2.972 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/8.444, allocations: 29.64 kB / 2.972 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/8.444, allocations: 488.8 kB / 2.972 GB, free: 149 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/8.444, allocations: 166 kB / 2.972 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/8.445, allocations: 0 / 2.972 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001279/8.445, allocations: 379.1 kB / 2.973 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/8.445, allocations: 204.8 kB / 2.973 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/8.445, allocations: 340 kB / 2.973 GB, free: 148.5 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.002544/8.448, allocations: 0.9078 MB / 2.974 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/8.448, allocations: 3.25 kB / 2.974 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001094/8.449, allocations: 0.6849 MB / 2.975 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/8.449, allocations: 7.812 kB / 2.975 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/8.449, allocations: 3.938 kB / 2.975 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/8.449, allocations: 85.78 kB / 2.975 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/8.45, allocations: 128.1 kB / 2.975 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/8.452, allocations: 2.814 MB / 2.978 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008329/8.453, allocations: 50.45 kB / 2.978 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/8.453, allocations: 29.16 kB / 2.978 GB, free: 145.9 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. 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 (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.0001655/8.453, allocations: 117.9 kB / 2.978 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008625/8.454, allocations: 0.5467 MB / 2.979 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/8.454, allocations: 84.16 kB / 2.979 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/8.454, allocations: 78.62 kB / 2.979 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/8.454, allocations: 7.75 kB / 2.979 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/8.454, allocations: 0 / 2.979 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008089/8.455, allocations: 0.7879 MB / 2.979 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/8.457, allocations: 1.556 MB / 2.981 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/8.457, allocations: 5.438 kB / 2.981 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/8.458, allocations: 112.5 kB / 2.981 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/8.458, allocations: 66.73 kB / 2.981 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/8.458, allocations: 3.844 kB / 2.981 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/8.459, allocations: 1.53 MB / 2.983 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/8.459, allocations: 7.156 kB / 2.983 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/8.461, allocations: 1.124 MB / 2.984 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/8.461, allocations: 217.4 kB / 2.984 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.291e-05/8.461, allocations: 3.969 kB / 2.984 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/8.462, allocations: 49.34 kB / 2.984 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/8.462, allocations: 49.28 kB / 2.984 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/8.462, allocations: 28.95 kB / 2.984 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004355/8.462, allocations: 407.1 kB / 2.985 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/8.462, allocations: 0 / 2.985 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001395/8.464, allocations: 361.5 kB / 2.985 GB, free: 142.8 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 (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.003177/8.467, allocations: 3.878 MB / 2.989 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009973/8.468, allocations: 0.7019 MB / 2.989 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/8.468, allocations: 0 / 2.989 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/8.468, allocations: 352.1 kB / 2.99 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/8.471, allocations: 457.7 kB / 2.99 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/8.473, allocations: 1.522 MB / 2.992 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/8.474, allocations: 1.106 MB / 2.993 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007261/8.475, allocations: 186.5 kB / 2.993 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/8.475, allocations: 342.9 kB / 2.993 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/8.475, allocations: 3.312 kB / 2.993 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06165/8.537, allocations: 31.8 MB / 3.024 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/8.537, allocations: 187.6 kB / 3.024 GB, free: 132 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/11.67, allocations: 0 / 3.024 GB, free: 132 MB / 0.6823 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/linux/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)