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.0008663/0.0008665, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004817/0.004818, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.183/1.183, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.539/1.539, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005115/0.0005115, allocations: 12.97 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1665, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4978/0.6643, allocations: 185.6 MB / 0.9692 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006712/0.671, allocations: 5.637 MB / 0.9747 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005678/0.6716, allocations: 31.28 kB / 0.9747 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.6726, allocations: 0.4898 MB / 0.9752 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.6753, allocations: 1.507 MB / 0.9767 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.6774, allocations: 1.084 MB / 0.9778 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002795/0.6802, allocations: 3.457 MB / 0.9811 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008783/0.6811, allocations: 0.8227 MB / 0.9819 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.6822, allocations: 0.8566 MB / 0.9828 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.6835, allocations: 0.816 MB / 0.9836 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.6836, allocations: 37.12 kB / 0.9836 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.6857, allocations: 1.699 MB / 0.9853 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003581/0.6861, allocations: 423.5 kB / 0.9857 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.6866, allocations: 0.5667 MB / 0.9862 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.6884, allocations: 2.102 MB / 0.9883 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6885, allocations: 3.938 kB / 0.9883 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6885, allocations: 0 / 0.9883 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.6885, allocations: 0 / 0.9883 GB, free: 10.41 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.00164/0.6901, allocations: 1.242 MB / 0.9895 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.6902, allocations: 11.31 kB / 0.9895 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.6903, allocations: 143.8 kB / 0.9896 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.692, allocations: 338 kB / 0.99 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.693, allocations: 0.77 MB / 0.9907 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.6933, allocations: 130.3 kB / 0.9908 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.6934, allocations: 86.09 kB / 0.9909 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.6949, allocations: 1.069 MB / 0.992 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.695, allocations: 0 / 0.992 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.127e-05/0.6951, allocations: 44.06 kB / 0.992 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/0.6951, allocations: 37.89 kB / 0.992 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.6964, allocations: 0.8477 MB / 0.9929 GB, free: 7.441 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.004386/0.7008, allocations: 4.06 MB / 0.9968 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.7013, allocations: 379.4 kB / 0.9972 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.7016, allocations: 208.9 kB / 0.9974 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.7017, allocations: 104.1 kB / 0.9975 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.7018, allocations: 40.34 kB / 0.9975 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.343e-06/0.7018, allocations: 0 / 0.9975 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.001996/0.7038, allocations: 1.328 MB / 0.9988 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.7038, allocations: 57.66 kB / 0.9989 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.7049, allocations: 0.9996 MB / 0.9999 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.705, allocations: 33.02 kB / 0.9999 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.7053, allocations: 488.7 kB / 1 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.7054, allocations: 144.6 kB / 1 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.7055, allocations: 45.98 kB / 1.001 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7056, allocations: 331.4 kB / 1.001 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.706, allocations: 239.8 kB / 1.001 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.7066, allocations: 418 kB / 1.001 GB, free: 0.8008 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.0021/0.7087, allocations: 1.201 MB / 1.003 GB, free: 28 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7087, allocations: 0 / 1.003 GB, free: 28 kB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001191/0.7099, allocations: 0.763 MB / 1.003 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7099, allocations: 15.84 kB / 1.003 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7099, allocations: 6.219 kB / 1.003 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.7099, allocations: 11.81 kB / 1.003 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.7104, allocations: 139.1 kB / 1.004 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.7104, allocations: 8.375 kB / 1.004 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.7113, allocations: 91.98 kB / 1.004 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.7113, allocations: 29.81 kB / 1.004 GB, free: 15.55 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 sytem: 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.0003202/0.7117, allocations: 313.6 kB / 1.004 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.7118, allocations: 100.2 kB / 1.004 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.712, allocations: 110 kB / 1.004 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.712, allocations: 2.625 kB / 1.004 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.712, allocations: 0 / 1.004 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005679/0.7125, allocations: 0.6773 MB / 1.005 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.7145, allocations: 1.581 MB / 1.006 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7145, allocations: 4.562 kB / 1.006 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.7148, allocations: 85.27 kB / 1.006 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7149, allocations: 4.625 kB / 1.006 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.7149, allocations: 21.19 kB / 1.007 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.7149, allocations: 8.875 kB / 1.007 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7149, allocations: 2.906 kB / 1.007 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.7158, allocations: 0.8483 MB / 1.007 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.7161, allocations: 242.1 kB / 1.008 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.7162, allocations: 17.95 kB / 1.008 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.7168, allocations: 68.59 kB / 1.008 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.7169, allocations: 36.66 kB / 1.008 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.7169, allocations: 24.61 kB / 1.008 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008251/0.7177, allocations: 0.7017 MB / 1.008 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7178, allocations: 0 / 1.008 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006333/0.7184, allocations: 259.4 kB / 1.009 GB, free: 12.12 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.001336/0.7197, allocations: 1.494 MB / 1.01 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007405/0.7205, allocations: 0.4958 MB / 1.011 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7205, allocations: 0 / 1.011 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.7207, allocations: 185.8 kB / 1.011 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/0.7236, allocations: 0.5993 MB / 1.011 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009365/0.733, allocations: 8.283 MB / 1.019 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.7336, allocations: 1.098 MB / 1.021 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000716/0.7343, allocations: 245.3 kB / 1.021 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.7347, allocations: 342.8 kB / 1.021 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.7347, allocations: 0 / 1.021 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7375/1.472, allocations: 26.93 MB / 1.047 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/1.472, allocations: 271.8 kB / 1.048 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/3.528, allocations: 0 / 1.048 GB, free: 11.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)