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.001487/0.001487, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001726/0.001726, allocations: 197 kB / 16.26 MB, free: 6.621 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 278.8 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9037/0.9037, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 103.3 kB / 0.5948 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1453, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4348/0.5802, allocations: 187.8 MB / 0.8632 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009493/0.5897, allocations: 5.652 MB / 0.8687 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.5909, allocations: 38.5 kB / 0.8687 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.5923, allocations: 0.5045 MB / 0.8692 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003711/0.5961, allocations: 1.507 MB / 0.8707 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.5991, allocations: 1.104 MB / 0.8718 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002721/0.6018, allocations: 2.499 MB / 0.8742 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.6029, allocations: 0.9673 MB / 0.8752 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.6044, allocations: 1.028 MB / 0.8762 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.6059, allocations: 0.8722 MB / 0.877 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.606, allocations: 100.7 kB / 0.8771 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.6086, allocations: 1.598 MB / 0.8787 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004533/0.6091, allocations: 493.4 kB / 0.8791 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005597/0.6096, allocations: 0.6279 MB / 0.8798 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.6119, allocations: 2.184 MB / 0.8819 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6119, allocations: 0 / 0.8819 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6119, allocations: 0 / 0.8819 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.6119, allocations: 0 / 0.8819 GB, free: 5.508 MB / 0.5919 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.00208/0.614, allocations: 1.488 MB / 0.8833 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.6141, allocations: 7.969 kB / 0.8834 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.6143, allocations: 138.5 kB / 0.8835 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.6164, allocations: 333.8 kB / 0.8838 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.6175, allocations: 0.7745 MB / 0.8846 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.6179, allocations: 121.2 kB / 0.8847 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.6181, allocations: 86.41 kB / 0.8848 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.6199, allocations: 1.06 MB / 0.8858 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.6199, allocations: 3.906 kB / 0.8858 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.62, allocations: 46.08 kB / 0.8858 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.6201, allocations: 38.55 kB / 0.8859 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.6218, allocations: 0.8376 MB / 0.8867 GB, free: 2.348 MB / 0.5919 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.005413/0.6272, allocations: 4.051 MB / 0.8906 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.6278, allocations: 361.6 kB / 0.891 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.6281, allocations: 221.1 kB / 0.8912 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.6283, allocations: 96.81 kB / 0.8913 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.6283, allocations: 47.44 kB / 0.8913 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.394e-06/0.6283, allocations: 0 / 0.8913 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002534/0.6309, allocations: 1.328 MB / 0.8926 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.6309, allocations: 55.41 kB / 0.8927 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.6323, allocations: 0.9958 MB / 0.8937 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/0.6324, allocations: 41.64 kB / 0.8937 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.6328, allocations: 491.4 kB / 0.8942 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.6329, allocations: 138 kB / 0.8943 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.6331, allocations: 134.1 kB / 0.8944 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6332, allocations: 326 kB / 0.8947 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.6337, allocations: 237.2 kB / 0.895 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.6343, allocations: 397.2 kB / 0.8953 GB, free: 10.42 MB / 0.6075 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.002595/0.6369, allocations: 1.193 MB / 0.8965 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.637, allocations: 4 kB / 0.8965 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001485/0.6385, allocations: 0.7575 MB / 0.8973 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6385, allocations: 8 kB / 0.8973 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.6385, allocations: 4 kB / 0.8973 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6385, allocations: 10 kB / 0.8973 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.6391, allocations: 135.8 kB / 0.8974 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.6391, allocations: 15.92 kB / 0.8974 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.6402, allocations: 91.78 kB / 0.8975 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.6402, allocations: 31.97 kB / 0.8975 GB, free: 8.086 MB / 0.6075 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0004927/0.6407, allocations: 314.2 kB / 0.8978 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6409, allocations: 98.81 kB / 0.8979 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.6411, allocations: 101 kB / 0.898 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.6411, allocations: 4 kB / 0.898 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6411, allocations: 0 / 0.898 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006745/0.6418, allocations: 0.6791 MB / 0.8987 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.6444, allocations: 1.585 MB / 0.9002 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.6445, allocations: 4 kB / 0.9002 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.6449, allocations: 83.84 kB / 0.9003 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.6449, allocations: 15.92 kB / 0.9003 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.6449, allocations: 9.5 kB / 0.9004 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.645, allocations: 8 kB / 0.9004 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.645, allocations: 8.375 kB / 0.9004 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.646, allocations: 0.8218 MB / 0.9012 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003495/0.6464, allocations: 243.9 kB / 0.9014 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.6465, allocations: 16 kB / 0.9014 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007597/0.6473, allocations: 57.83 kB / 0.9015 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.6473, allocations: 39.84 kB / 0.9015 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.6474, allocations: 27.98 kB / 0.9015 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009637/0.6484, allocations: 0.7074 MB / 0.9022 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6484, allocations: 3.938 kB / 0.9022 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009771/0.6494, allocations: 252 kB / 0.9025 GB, free: 2.727 MB / 0.6075 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.001605/0.651, allocations: 1.47 MB / 0.9039 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.652, allocations: 0.5313 MB / 0.9044 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.652, allocations: 8 kB / 0.9044 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.6523, allocations: 186.7 kB / 0.9046 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/0.6551, allocations: 0.6162 MB / 0.9052 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.6673, allocations: 8.222 MB / 0.9132 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/0.6681, allocations: 1.102 MB / 0.9143 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001008/0.6691, allocations: 240.2 kB / 0.9146 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/0.6696, allocations: 351.3 kB / 0.9149 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.6696, allocations: 0 / 0.9149 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05209/0.7217, allocations: 27.31 MB / 0.9416 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/0.722, allocations: 279.7 kB / 0.9418 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/2.968, allocations: 0 / 0.9418 GB, free: 10.32 MB / 0.6544 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)