Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.0007883/0.0007884, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00499/0.00499, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.287/1.287, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.0018, allocations: 279 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9206/0.9206, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006463/0.0006463, allocations: 12.53 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.159, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4422/0.6012, allocations: 183.7 MB / 0.8646 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.6159, allocations: 11.02 MB / 0.8754 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.617, allocations: 43.22 kB / 0.8754 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.6181, allocations: 427 kB / 0.8759 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005203/0.6233, allocations: 2.423 MB / 0.8782 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004355/0.6276, allocations: 2.08 MB / 0.8803 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003436/0.6311, allocations: 3.989 MB / 0.8841 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008305/0.6319, allocations: 0.6551 MB / 0.8848 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.6331, allocations: 0.8363 MB / 0.8856 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.6347, allocations: 1.05 MB / 0.8866 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.6349, allocations: 44 kB / 0.8867 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004934/0.6398, allocations: 3.297 MB / 0.8899 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003827/0.6402, allocations: 386.8 kB / 0.8903 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005433/0.6407, allocations: 0.5381 MB / 0.8908 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.6442, allocations: 2.999 MB / 0.8937 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.6442, allocations: 0 / 0.8937 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6443, allocations: 0 / 0.8937 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.6443, allocations: 0 / 0.8937 GB, free: 10.29 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002997/0.6473, allocations: 1.472 MB / 0.8952 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6473, allocations: 12.03 kB / 0.8952 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.6475, allocations: 118.5 kB / 0.8953 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.6493, allocations: 298.4 kB / 0.8956 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.6504, allocations: 0.7843 MB / 0.8963 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.6505, allocations: 49.3 kB / 0.8964 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.6506, allocations: 67.98 kB / 0.8964 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.6521, allocations: 0.9922 MB / 0.8974 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.6522, allocations: 4 kB / 0.8974 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/0.6523, allocations: 23.98 kB / 0.8974 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-05/0.6524, allocations: 77.94 kB / 0.8975 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.654, allocations: 1.015 MB / 0.8985 GB, free: 5.266 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.005481/0.6595, allocations: 3.59 MB / 0.902 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.6606, allocations: 0.6631 MB / 0.9027 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/0.6612, allocations: 376.6 kB / 0.903 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.6615, allocations: 194.8 kB / 0.9032 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.6615, allocations: 39.12 kB / 0.9032 GB, free: 136 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.305e-06/0.6615, allocations: 7.938 kB / 0.9032 GB, free: 128 kB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.001902/0.6634, allocations: 1.021 MB / 0.9042 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.6635, allocations: 111.4 kB / 0.9043 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009534/0.6644, allocations: 0.7981 MB / 0.9051 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/0.6645, allocations: 41.7 kB / 0.9052 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.6649, allocations: 424 kB / 0.9056 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.6651, allocations: 224.8 kB / 0.9058 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.991e-05/0.6652, allocations: 61.69 kB / 0.9058 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6653, allocations: 334 kB / 0.9062 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.6659, allocations: 333.8 kB / 0.9065 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/0.6665, allocations: 468.7 kB / 0.9069 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.6677, allocations: 0.7665 MB / 0.9077 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6677, allocations: 0 / 0.9077 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001478/0.6692, allocations: 0.9294 MB / 0.9086 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/0.6693, allocations: 163.6 kB / 0.9087 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6693, allocations: 4 kB / 0.9087 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.6693, allocations: 4 kB / 0.9087 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.67, allocations: 151.8 kB / 0.9089 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.67, allocations: 8 kB / 0.9089 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.6708, allocations: 107.7 kB / 0.909 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.6709, allocations: 28 kB / 0.909 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.6709, allocations: 4 kB / 0.909 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001259/0.6722, allocations: 0.7804 MB / 0.9098 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6722, allocations: 4 kB / 0.9098 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/0.6722, allocations: 7.938 kB / 0.9098 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.6729, allocations: 147.8 kB / 0.9099 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.6729, allocations: 8 kB / 0.91 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/0.6737, allocations: 106.7 kB / 0.9101 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.6737, allocations: 28 kB / 0.9101 GB, free: 8.953 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003907/0.6741, allocations: 373.4 kB / 0.9104 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.6743, allocations: 98.81 kB / 0.9105 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.6756, allocations: 0.8108 MB / 0.9113 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6757, allocations: 8 kB / 0.9113 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6757, allocations: 0 / 0.9113 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.6767, allocations: 0.7399 MB / 0.9121 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.6797, allocations: 2.094 MB / 0.9141 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.6797, allocations: 7.938 kB / 0.9141 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.6803, allocations: 127.9 kB / 0.9142 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.6804, allocations: 11.94 kB / 0.9142 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.6804, allocations: 16 kB / 0.9143 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.6804, allocations: 11.94 kB / 0.9143 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6804, allocations: 4 kB / 0.9143 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.6823, allocations: 1.36 MB / 0.9156 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.6826, allocations: 263.8 kB / 0.9159 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.6828, allocations: 19.94 kB / 0.9159 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/0.6834, allocations: 47.95 kB / 0.9159 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.6835, allocations: 52.27 kB / 0.916 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.6835, allocations: 20 kB / 0.916 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000668/0.6842, allocations: 0.5576 MB / 0.9165 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6842, allocations: 0 / 0.9165 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001572/0.6858, allocations: 0.7489 MB / 0.9173 GB, free: 1.375 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003121/0.6889, allocations: 2.348 MB / 0.9196 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.6907, allocations: 1.17 MB / 0.9207 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6908, allocations: 1.125 kB / 0.9207 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.6913, allocations: 370.4 kB / 0.9211 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.6941, allocations: 0.5163 MB / 0.9216 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.7055, allocations: 8.632 MB / 0.93 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.7063, allocations: 1.078 MB / 0.931 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001255/0.7075, allocations: 411.5 kB / 0.9314 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004837/0.708, allocations: 335.3 kB / 0.9317 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.708, allocations: 0 / 0.9317 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06069/0.7687, allocations: 30 MB / 0.961 GB, free: 4.547 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.769, allocations: 275.4 kB / 0.9613 GB, free: 4.18 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.793/3.562, allocations: 0 / 0.9613 GB, free: 4.18 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)