Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.00438/0.00438, allocations: 99.72 kB / 15.73 MB, free: 6.48 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.001197/0.001197, allocations: 193.5 kB / 16.68 MB, free: 6.363 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002349/0.002349, allocations: 279.1 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9486/0.9486, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 92.19 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1531, allocations: 86.97 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4776/0.6307, allocations: 190.3 MB / 0.9518 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00865/0.6394, allocations: 5.697 MB / 0.9573 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006539/0.6401, allocations: 43.75 kB / 0.9574 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.6414, allocations: 0.563 MB / 0.9579 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.6446, allocations: 1.606 MB / 0.9595 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.6472, allocations: 1.211 MB / 0.9607 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002751/0.65, allocations: 2.504 MB / 0.9631 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.6512, allocations: 0.9967 MB / 0.9641 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.6527, allocations: 1.027 MB / 0.9651 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.6542, allocations: 0.814 MB / 0.9659 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.6544, allocations: 100 kB / 0.966 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.6568, allocations: 1.528 MB / 0.9675 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.6573, allocations: 494.7 kB / 0.968 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.6579, allocations: 0.6222 MB / 0.9686 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.6604, allocations: 2.116 MB / 0.9706 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6604, allocations: 0 / 0.9706 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6605, allocations: 0 / 0.9706 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.6605, allocations: 0 / 0.9706 GB, free: 1.309 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002219/0.6627, allocations: 1.513 MB / 0.9721 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.6627, allocations: 12.03 kB / 0.9721 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.6629, allocations: 135.2 kB / 0.9722 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.6648, allocations: 342.9 kB / 0.9726 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.666, allocations: 0.8163 MB / 0.9734 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/0.6661, allocations: 58 kB / 0.9734 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.6662, allocations: 87.95 kB / 0.9735 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.668, allocations: 1.078 MB / 0.9746 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.668, allocations: 4 kB / 0.9746 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/0.6681, allocations: 36 kB / 0.9746 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.6681, allocations: 33.98 kB / 0.9746 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.6696, allocations: 0.8314 MB / 0.9754 GB, free: 12.23 MB / 0.7325 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.005427/0.6751, allocations: 4.279 MB / 0.9796 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.6757, allocations: 361.4 kB / 0.98 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.676, allocations: 213.3 kB / 0.9802 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.6762, allocations: 105 kB / 0.9803 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.6762, allocations: 42.42 kB / 0.9803 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.6763, allocations: 0 / 0.9803 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002356/0.6786, allocations: 1.348 MB / 0.9816 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.6787, allocations: 55.41 kB / 0.9817 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.68, allocations: 0.9967 MB / 0.9827 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.6801, allocations: 33.7 kB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.6805, allocations: 0.5002 MB / 0.9832 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.6806, allocations: 158.7 kB / 0.9833 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.6808, allocations: 122.2 kB / 0.9834 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.681, allocations: 326 kB / 0.9838 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.6814, allocations: 237.2 kB / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.682, allocations: 423.8 kB / 0.9844 GB, free: 2.574 MB / 0.7325 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.002466/0.6845, allocations: 1.213 MB / 0.9856 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6845, allocations: 0 / 0.9856 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001341/0.6859, allocations: 0.7721 MB / 0.9863 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.6859, allocations: 11.94 kB / 0.9863 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6859, allocations: 16 kB / 0.9863 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.686, allocations: 8 kB / 0.9864 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.6865, allocations: 139.8 kB / 0.9865 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.6865, allocations: 19.88 kB / 0.9865 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000814/0.6874, allocations: 55.94 kB / 0.9866 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.6874, allocations: 25.94 kB / 0.9866 GB, free: 228 kB / 0.7325 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0003994/0.6878, allocations: 318.2 kB / 0.9869 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.688, allocations: 103.3 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.6882, allocations: 109 kB / 0.9871 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6882, allocations: 4 kB / 0.9871 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6882, allocations: 4 kB / 0.9871 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007088/0.6889, allocations: 0.6788 MB / 0.9878 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.6912, allocations: 1.573 MB / 0.9893 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6913, allocations: 8.094 kB / 0.9893 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.6916, allocations: 87.84 kB / 0.9894 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.6917, allocations: 7.984 kB / 0.9894 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.6917, allocations: 12 kB / 0.9894 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.6917, allocations: 7.938 kB / 0.9894 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6917, allocations: 7.938 kB / 0.9894 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.6928, allocations: 0.8337 MB / 0.9902 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.6931, allocations: 252.4 kB / 0.9905 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.6933, allocations: 16.81 kB / 0.9905 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/0.694, allocations: 37.59 kB / 0.9905 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.694, allocations: 35.84 kB / 0.9906 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.6941, allocations: 28.08 kB / 0.9906 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009811/0.6951, allocations: 0.7077 MB / 0.9913 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6951, allocations: 0 / 0.9913 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008758/0.696, allocations: 259.9 kB / 0.9915 GB, free: 10.86 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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 (38): * Single equations (assignments): 38 * 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.001692/0.6977, allocations: 1.489 MB / 0.993 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008838/0.6986, allocations: 0.4998 MB / 0.9935 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6986, allocations: 1.062 kB / 0.9935 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.6988, allocations: 196.1 kB / 0.9937 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.7013, allocations: 0.6127 MB / 0.9943 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.7115, allocations: 7.635 MB / 1.002 GB, free: 12 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.7123, allocations: 1.103 MB / 1.003 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006797/0.713, allocations: 248.3 kB / 1.003 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.7134, allocations: 343.3 kB / 1.003 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of SimCode: time 3.41e-07/0.7134, allocations: 0 / 1.003 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.736/2.449, allocations: 27.8 MB / 1.031 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/14.86, allocations: 6.938 kB / 1.031 GB, free: 2.98 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)