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.001363/0.001363, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001628/0.001628, allocations: 191.3 kB / 16.14 MB, free: 6.707 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 284.6 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9159/0.9159, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002941/0.002941, allocations: 98.17 kB / 0.5946 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1395, allocations: 86.98 MB / 0.6795 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4361/0.5756, allocations: 188.1 MB / 0.8632 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008328/0.584, allocations: 5.746 MB / 0.8688 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009331/0.5849, allocations: 36.06 kB / 0.8689 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.5862, allocations: 0.4964 MB / 0.8693 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.5894, allocations: 1.518 MB / 0.8708 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.5918, allocations: 1.083 MB / 0.8719 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002876/0.5947, allocations: 3.496 MB / 0.8753 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009083/0.5956, allocations: 0.8408 MB / 0.8761 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.5969, allocations: 0.896 MB / 0.877 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.5983, allocations: 0.8515 MB / 0.8778 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.5985, allocations: 52.62 kB / 0.8779 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.6011, allocations: 1.709 MB / 0.8795 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004168/0.6015, allocations: 446.3 kB / 0.88 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005952/0.6021, allocations: 0.5689 MB / 0.8805 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.6044, allocations: 2.139 MB / 0.8826 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6044, allocations: 0 / 0.8826 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6044, allocations: 0 / 0.8826 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.6044, allocations: 0 / 0.8826 GB, free: 4.973 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.002054/0.6064, allocations: 1.481 MB / 0.8841 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6065, allocations: 10.19 kB / 0.8841 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.6067, allocations: 139.8 kB / 0.8842 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.6086, allocations: 332 kB / 0.8845 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.6097, allocations: 0.7703 MB / 0.8853 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/0.61, allocations: 121.5 kB / 0.8854 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.6101, allocations: 84.38 kB / 0.8855 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.6117, allocations: 1.071 MB / 0.8865 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.6118, allocations: 3.906 kB / 0.8865 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.57e-05/0.6119, allocations: 37.66 kB / 0.8865 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/0.6119, allocations: 36.33 kB / 0.8866 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.6134, allocations: 0.8397 MB / 0.8874 GB, free: 1.82 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.004846/0.6182, allocations: 4.053 MB / 0.8914 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.6188, allocations: 375.8 kB / 0.8917 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.6191, allocations: 212.8 kB / 0.8919 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.6192, allocations: 101.7 kB / 0.892 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.6193, allocations: 42.55 kB / 0.8921 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.6193, allocations: 0 / 0.8921 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.00231/0.6216, allocations: 1.331 MB / 0.8934 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.6216, allocations: 55.41 kB / 0.8934 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.6229, allocations: 0.9998 MB / 0.8944 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.6229, allocations: 41.69 kB / 0.8944 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.6233, allocations: 491.3 kB / 0.8949 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.6234, allocations: 138.1 kB / 0.895 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.6236, allocations: 118.2 kB / 0.8951 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6238, allocations: 330 kB / 0.8955 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.6242, allocations: 237.1 kB / 0.8957 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.6248, allocations: 405.3 kB / 0.8961 GB, free: 9.602 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.002412/0.6273, allocations: 1.181 MB / 0.8972 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6273, allocations: 0 / 0.8972 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00134/0.6286, allocations: 0.7659 MB / 0.898 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6286, allocations: 8 kB / 0.898 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6287, allocations: 4 kB / 0.898 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.6287, allocations: 8 kB / 0.898 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.6292, allocations: 139.8 kB / 0.8981 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.6293, allocations: 11.98 kB / 0.8981 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/0.6302, allocations: 87.75 kB / 0.8982 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.6302, allocations: 31.98 kB / 0.8982 GB, free: 7.277 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.0003703/0.6306, allocations: 323.8 kB / 0.8986 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.6308, allocations: 98.81 kB / 0.8987 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.6309, allocations: 101 kB / 0.8987 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.6309, allocations: 4 kB / 0.8988 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6309, allocations: 4 kB / 0.8988 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006546/0.6316, allocations: 0.6713 MB / 0.8994 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.6338, allocations: 1.588 MB / 0.901 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.6339, allocations: 4 kB / 0.901 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.6342, allocations: 87.89 kB / 0.901 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6343, allocations: 7.938 kB / 0.9011 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.6343, allocations: 12 kB / 0.9011 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.435e-06/0.6343, allocations: 8 kB / 0.9011 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6343, allocations: 8.375 kB / 0.9011 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009838/0.6353, allocations: 0.8257 MB / 0.9019 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.6356, allocations: 239.8 kB / 0.9021 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.6358, allocations: 12 kB / 0.9021 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/0.6365, allocations: 62.23 kB / 0.9022 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.6366, allocations: 35.84 kB / 0.9022 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.6366, allocations: 23.98 kB / 0.9022 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009597/0.6376, allocations: 0.7074 MB / 0.9029 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6376, allocations: 0 / 0.9029 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000737/0.6383, allocations: 252 kB / 0.9032 GB, free: 1.93 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.001536/0.6399, allocations: 1.48 MB / 0.9046 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008554/0.6407, allocations: 496.2 kB / 0.9051 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6408, allocations: 4 kB / 0.9051 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.641, allocations: 187.7 kB / 0.9053 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.6436, allocations: 0.5973 MB / 0.9059 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.6546, allocations: 8.221 MB / 0.9139 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.6554, allocations: 1.103 MB / 0.915 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009694/0.6563, allocations: 240.2 kB / 0.9152 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/0.6568, allocations: 343.3 kB / 0.9155 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.6568, allocations: 0 / 0.9155 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.6965, allocations: 26.63 MB / 0.9415 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.6967, allocations: 271.4 kB / 0.9418 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.953, allocations: 0 / 0.9418 GB, free: 10.22 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)