Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_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.001548/0.001548, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 196.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.842/1.842, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 70.67 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3262, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.9515/1.278, allocations: 190.3 MB / 0.9693 GB, free: 24 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01175/1.29, allocations: 5.637 MB / 0.9748 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/1.292, allocations: 35.41 kB / 0.9749 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/1.294, allocations: 0.5657 MB / 0.9754 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005665/1.299, allocations: 1.595 MB / 0.977 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004966/1.304, allocations: 1.192 MB / 0.9781 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005949/1.31, allocations: 2.475 MB / 0.9805 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/1.313, allocations: 0.9991 MB / 0.9815 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/1.316, allocations: 1.018 MB / 0.9825 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/1.318, allocations: 0.8155 MB / 0.9833 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002625/1.319, allocations: 102.9 kB / 0.9834 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004295/1.323, allocations: 1.523 MB / 0.9849 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007451/1.324, allocations: 491.9 kB / 0.9854 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/1.325, allocations: 0.6247 MB / 0.986 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004901/1.33, allocations: 2.089 MB / 0.988 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.33, allocations: 0 / 0.988 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.525e-06/1.33, allocations: 0 / 0.988 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.266e-05/1.33, allocations: 0 / 0.988 GB, free: 9.754 MB / 0.7325 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.002687/1.332, allocations: 1.464 MB / 0.9894 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.332, allocations: 10.34 kB / 0.9895 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/1.333, allocations: 146.9 kB / 0.9896 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/1.335, allocations: 327.1 kB / 0.9899 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/1.336, allocations: 0.7641 MB / 0.9907 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/1.337, allocations: 124.5 kB / 0.9908 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/1.337, allocations: 92.69 kB / 0.9909 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/1.339, allocations: 1.077 MB / 0.9919 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/1.339, allocations: 6.031 kB / 0.9919 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.339, allocations: 45.66 kB / 0.992 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.754e-05/1.339, allocations: 32.41 kB / 0.992 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/1.341, allocations: 0.8338 MB / 0.9928 GB, free: 6.621 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.006367/1.347, allocations: 4.287 MB / 0.997 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/1.348, allocations: 387.5 kB / 0.9974 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/1.348, allocations: 212.8 kB / 0.9976 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/1.348, allocations: 109.7 kB / 0.9977 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.349, allocations: 37.59 kB / 0.9977 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.695e-06/1.349, allocations: 4 kB / 0.9977 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.003041/1.352, allocations: 1.321 MB / 0.999 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/1.352, allocations: 63.94 kB / 0.9991 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/1.353, allocations: 1.001 MB / 1 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/1.353, allocations: 35.92 kB / 1 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/1.354, allocations: 498.9 kB / 1.001 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/1.354, allocations: 141.5 kB / 1.001 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/1.354, allocations: 127 kB / 1.001 GB, free: 456 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.354, allocations: 331 kB / 1.001 GB, free: 124 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/1.355, allocations: 236.3 kB / 1.001 GB, free: 12 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000751/1.355, allocations: 438.2 kB / 1.002 GB, free: 15.65 MB / 0.7481 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.002811/1.358, allocations: 1.221 MB / 1.003 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/1.358, allocations: 1.125 kB / 1.003 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001748/1.36, allocations: 0.7819 MB / 1.004 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/1.36, allocations: 5.125 kB / 1.004 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/1.36, allocations: 11.25 kB / 1.004 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/1.36, allocations: 7.375 kB / 1.004 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/1.361, allocations: 147.4 kB / 1.004 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/1.361, allocations: 13.31 kB / 1.004 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/1.362, allocations: 63.22 kB / 1.004 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/1.362, allocations: 26.94 kB / 1.004 GB, free: 14.38 MB / 0.7481 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.0005818/1.363, allocations: 322 kB / 1.004 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/1.363, allocations: 94.34 kB / 1.004 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/1.363, allocations: 111.7 kB / 1.004 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/1.363, allocations: 2.75 kB / 1.004 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.363, allocations: 3.984 kB / 1.004 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007685/1.364, allocations: 0.6765 MB / 1.005 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/1.367, allocations: 1.582 MB / 1.007 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.367, allocations: 4.719 kB / 1.007 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/1.367, allocations: 92.23 kB / 1.007 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.367, allocations: 4.688 kB / 1.007 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/1.367, allocations: 11.44 kB / 1.007 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.511e-05/1.367, allocations: 14.88 kB / 1.007 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.367, allocations: 8.969 kB / 1.007 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/1.368, allocations: 0.8434 MB / 1.008 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/1.369, allocations: 235.3 kB / 1.008 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/1.369, allocations: 27.27 kB / 1.008 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/1.37, allocations: 32.16 kB / 1.008 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/1.37, allocations: 38.94 kB / 1.008 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/1.37, allocations: 25.55 kB / 1.008 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00117/1.371, allocations: 0.7102 MB / 1.009 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.371, allocations: 0 / 1.009 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001011/1.372, allocations: 255.1 kB / 1.009 GB, free: 10.95 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.U,volDyn.dynBal.mXi[1],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.002054/1.374, allocations: 1.506 MB / 1.01 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001188/1.375, allocations: 0.5303 MB / 1.011 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.375, allocations: 2.688 kB / 1.011 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/1.376, allocations: 191.7 kB / 1.011 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/1.379, allocations: 0.6087 MB / 1.012 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/1.391, allocations: 7.996 MB / 1.02 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008147/1.392, allocations: 1.093 MB / 1.021 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00181/1.394, allocations: 249.9 kB / 1.021 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007637/1.395, allocations: 340.3 kB / 1.021 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of SimCode: time 3.537e-06/1.395, allocations: 0 / 1.021 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08041/1.475, allocations: 27.61 MB / 1.048 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/9.961, allocations: 11.5 kB / 1.048 GB, free: 8.543 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)