Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.001096/0.001096, 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.9918/0.9918, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.491/1.491, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.001109/0.001109, allocations: 98.48 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.409e-05, allocations: 0 / 0.5535 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.56, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.928/7.488, allocations: 2.128 GB / 2.762 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/7.488, allocations: 94.69 kB / 2.762 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.942/9.43, allocations: 481.2 MB / 3.232 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.443e-06/9.43, allocations: 3.562 kB / 3.232 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001119/9.431, allocations: 36.02 kB / 3.232 GB, free: 156.8 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.00298/9.434, allocations: 1.521 MB / 3.233 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/9.434, allocations: 11.28 kB / 3.233 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/9.437, allocations: 488.3 kB / 3.234 GB, free: 156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/9.439, allocations: 1.338 MB / 3.235 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/9.439, allocations: 31.41 kB / 3.235 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/9.439, allocations: 65.61 kB / 3.235 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00163/9.441, allocations: 1.115 MB / 3.236 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/9.442, allocations: 1.091 MB / 3.237 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/9.442, allocations: 0 / 3.237 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.193e-05/9.443, allocations: 0 / 3.237 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/9.443, allocations: 40.77 kB / 3.238 GB, free: 155.7 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.005285/9.448, allocations: 4.655 MB / 3.242 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/9.449, allocations: 0.9332 MB / 3.243 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/9.45, allocations: 0.5342 MB / 3.244 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/9.45, allocations: 205.1 kB / 3.244 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/9.45, allocations: 45.5 kB / 3.244 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 2.795e-06/9.45, allocations: 0 / 3.244 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.00416/9.454, allocations: 2.44 MB / 3.246 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/9.454, allocations: 59.91 kB / 3.246 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008275/9.455, allocations: 0.7691 MB / 3.247 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/9.455, allocations: 25.7 kB / 3.247 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/9.455, allocations: 0.5356 MB / 3.247 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/9.455, allocations: 280.2 kB / 3.248 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/9.456, allocations: 3.781 kB / 3.248 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.802e-05/9.456, allocations: 338.6 kB / 3.248 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/9.456, allocations: 412.6 kB / 3.248 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/9.457, allocations: 0.5792 MB / 3.249 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/9.457, allocations: 0.5184 MB / 3.25 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/9.457, allocations: 1.938 kB / 3.25 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001415/9.459, allocations: 1.154 MB / 3.251 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/9.459, allocations: 1.055 MB / 3.252 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/9.459, allocations: 3.656 kB / 3.252 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/9.459, allocations: 68.44 kB / 3.252 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009584/9.46, allocations: 197 kB / 3.252 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/9.462, allocations: 2.923 MB / 3.255 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/9.463, allocations: 130.9 kB / 3.255 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/9.463, allocations: 29.31 kB / 3.255 GB, free: 148 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/9.463, allocations: 8.734 kB / 3.255 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001284/9.465, allocations: 1.013 MB / 3.256 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/9.465, allocations: 11.66 kB / 3.256 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/9.465, allocations: 70.67 kB / 3.256 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/9.466, allocations: 169.5 kB / 3.256 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/9.467, allocations: 1.751 MB / 3.258 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/9.468, allocations: 125.9 kB / 3.258 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/9.468, allocations: 30.7 kB / 3.258 GB, free: 146.7 MB / 0.6823 GB 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000256/9.468, allocations: 125.6 kB / 3.258 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001292/9.47, allocations: 1.017 MB / 3.259 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/9.47, allocations: 108.7 kB / 3.259 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/9.472, allocations: 1.104 MB / 3.26 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/9.472, allocations: 6.594 kB / 3.26 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/9.472, allocations: 3.719 kB / 3.26 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001218/9.473, allocations: 1.178 MB / 3.262 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/9.477, allocations: 2.575 MB / 3.264 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/9.477, allocations: 3.219 kB / 3.264 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/9.478, allocations: 244.4 kB / 3.264 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/9.478, allocations: 66.23 kB / 3.264 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/9.478, allocations: 19.5 kB / 3.264 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/9.48, allocations: 2.917 MB / 3.267 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/9.48, allocations: 5.828 kB / 3.267 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/9.482, allocations: 1.945 MB / 3.269 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006772/9.483, allocations: 322.6 kB / 3.269 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/9.483, allocations: 17.86 kB / 3.269 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009896/9.484, allocations: 102.5 kB / 3.27 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/9.484, allocations: 57.56 kB / 3.27 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/9.484, allocations: 30.66 kB / 3.27 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008635/9.485, allocations: 0.6057 MB / 3.27 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/9.485, allocations: 3.031 kB / 3.27 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002586/9.487, allocations: 0.7216 MB / 3.271 GB, free: 142.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004875/9.492, allocations: 4.456 MB / 3.275 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00265/9.495, allocations: 1.801 MB / 3.277 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/9.495, allocations: 0 / 3.277 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006972/9.496, allocations: 0.6344 MB / 3.278 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/9.499, allocations: 0.741 MB / 3.278 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/9.504, allocations: 2.946 MB / 3.281 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009199/9.505, allocations: 1.454 MB / 3.283 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002456/9.507, allocations: 0.9695 MB / 3.284 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/9.508, allocations: 442.6 kB / 3.284 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/9.508, allocations: 0 / 3.284 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08149/9.589, allocations: 46.63 MB / 3.33 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/9.589, allocations: 195.6 kB / 3.33 GB, free: 91.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.607/13.2, allocations: 0 / 3.33 GB, free: 91.77 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)