Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.001467/0.001467, allocations: 174.2 kB / 7.647 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.7692/0.7692, allocations: 133.6 MB / 141.6 MB, free: 2.875 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.479/1.479, allocations: 221.5 MB / 395.5 MB, free: 10.74 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.000952/0.0009518, allocations: 101.2 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.535e-05, allocations: 7.938 kB / 0.5536 GB, free: 8.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5421, allocations: 82.29 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9893/1.531, allocations: 373.9 MB / 0.9991 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/1.532, allocations: 87.45 kB / 0.9992 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.025/2.557, allocations: 246 MB / 1.239 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.685e-06/2.557, allocations: 0 / 1.239 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001812/2.557, allocations: 31.98 kB / 1.239 GB, free: 101.6 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003056/2.56, allocations: 1.212 MB / 1.241 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/2.56, allocations: 8.031 kB / 1.241 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/2.561, allocations: 138.5 kB / 1.241 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/2.579, allocations: 7.746 MB / 1.248 GB, free: 92.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/2.58, allocations: 24 kB / 1.248 GB, free: 92.31 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/2.58, allocations: 47.98 kB / 1.248 GB, free: 92.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001745/2.582, allocations: 0.6403 MB / 1.249 GB, free: 91.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/2.583, allocations: 0.8576 MB / 1.25 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/2.584, allocations: 7.953 kB / 1.25 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/2.584, allocations: 0 / 1.25 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/2.584, allocations: 27.94 kB / 1.25 GB, free: 90.68 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.00587/2.59, allocations: 4.387 MB / 1.254 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/2.59, allocations: 368.7 kB / 1.254 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/2.59, allocations: 247.3 kB / 1.255 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/2.591, allocations: 433.8 kB / 1.255 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/2.591, allocations: 42.89 kB / 1.255 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 3.166e-06/2.591, allocations: 0 / 1.255 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.001375/2.592, allocations: 0.5383 MB / 1.256 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/2.592, allocations: 55.41 kB / 1.256 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/2.593, allocations: 0.7818 MB / 1.257 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/2.593, allocations: 29.7 kB / 1.257 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/2.594, allocations: 0.5028 MB / 1.257 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/2.594, allocations: 149.9 kB / 1.257 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/2.594, allocations: 0 / 1.257 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/2.594, allocations: 330 kB / 1.257 GB, free: 82.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/2.594, allocations: 201 kB / 1.258 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/2.594, allocations: 427.3 kB / 1.258 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/2.595, allocations: 305.3 kB / 1.258 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/2.595, allocations: 3.938 kB / 1.258 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00121/2.596, allocations: 0.736 MB / 1.259 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005092/2.597, allocations: 2.18 MB / 1.261 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/2.597, allocations: 7.938 kB / 1.261 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/2.597, allocations: 56.94 kB / 1.261 GB, free: 78.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/2.598, allocations: 119.8 kB / 1.261 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007155/2.598, allocations: 0.6343 MB / 1.262 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/2.6, allocations: 91.38 kB / 1.262 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/2.6, allocations: 31.98 kB / 1.262 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/2.6, allocations: 4 kB / 1.262 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001681/2.602, allocations: 0.5978 MB / 1.263 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/2.602, allocations: 12.03 kB / 1.263 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/2.602, allocations: 60.81 kB / 1.263 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/2.603, allocations: 107.8 kB / 1.263 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/2.605, allocations: 1.599 MB / 1.264 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/2.606, allocations: 83.53 kB / 1.265 GB, free: 74.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/2.606, allocations: 31.98 kB / 1.265 GB, free: 74.68 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002911/2.606, allocations: 134.6 kB / 1.265 GB, free: 74.54 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001525/2.608, allocations: 0.5207 MB / 1.265 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/2.608, allocations: 83.02 kB / 1.265 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/2.61, allocations: 0.5936 MB / 1.266 GB, free: 73.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/2.61, allocations: 7.953 kB / 1.266 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/2.61, allocations: 0 / 1.266 GB, free: 73.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/2.611, allocations: 0.793 MB / 1.267 GB, free: 72.43 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 postOpt removeSimpleEquations (simulation): time 0.003661/2.615, allocations: 1.533 MB / 1.268 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/2.615, allocations: 3.953 kB / 1.268 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/2.615, allocations: 87.88 kB / 1.268 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/2.615, allocations: 24.84 kB / 1.268 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/2.615, allocations: 11.94 kB / 1.268 GB, free: 70.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003669/2.616, allocations: 0.572 MB / 1.269 GB, free: 70.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/2.616, allocations: 7.922 kB / 1.269 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/2.618, allocations: 0.9481 MB / 1.27 GB, free: 69.08 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/2.618, allocations: 255.9 kB / 1.27 GB, free: 68.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/2.619, allocations: 4 kB / 1.27 GB, free: 68.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/2.62, allocations: 63.78 kB / 1.27 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/2.62, allocations: 23.95 kB / 1.27 GB, free: 68.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/2.62, allocations: 23.98 kB / 1.27 GB, free: 68.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001178/2.621, allocations: 0.6122 MB / 1.271 GB, free: 68.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/2.621, allocations: 0 / 1.271 GB, free: 68.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003396/2.625, allocations: 0.5728 MB / 1.271 GB, free: 67.52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003175/2.628, allocations: 2.052 MB / 1.273 GB, free: 65.42 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002225/2.63, allocations: 0.9541 MB / 1.274 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/2.63, allocations: 4 kB / 1.274 GB, free: 64.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000461/2.631, allocations: 227.8 kB / 1.274 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004006/2.635, allocations: 0.5338 MB / 1.275 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/2.64, allocations: 1.934 MB / 1.277 GB, free: 61.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/2.642, allocations: 1.245 MB / 1.278 GB, free: 60.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002976/2.645, allocations: 0.6858 MB / 1.279 GB, free: 59.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/2.645, allocations: 350.1 kB / 1.279 GB, free: 59.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/2.645, allocations: 0 / 1.279 GB, free: 59.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07609/2.721, allocations: 28.36 MB / 1.307 GB, free: 31.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003677/2.722, allocations: 187.5 kB / 1.307 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.524/6.246, allocations: 4.031 kB / 1.307 GB, free: 31.05 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)