Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.005251/0.005251, allocations: 102 kB / 15.73 MB, free: 6.484 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.001138/0.001138, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 274.4 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8911/0.8911, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 99.91 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1557, allocations: 86.97 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4965/0.6522, allocations: 187.1 MB / 0.9486 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.6675, allocations: 13.03 MB / 0.9614 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.6687, allocations: 31.81 kB / 0.9614 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.6701, allocations: 409.3 kB / 0.9618 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.6724, allocations: 0.9214 MB / 0.9627 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.6743, allocations: 0.7106 MB / 0.9634 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.6761, allocations: 1.505 MB / 0.9648 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000951/0.6771, allocations: 0.6543 MB / 0.9655 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003511/0.6806, allocations: 1.724 MB / 0.9672 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.6818, allocations: 0.5023 MB / 0.9677 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.6819, allocations: 56 kB / 0.9677 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.6835, allocations: 0.873 MB / 0.9686 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.6838, allocations: 287.1 kB / 0.9688 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004828/0.6843, allocations: 386 kB / 0.9692 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.6859, allocations: 1.176 MB / 0.9703 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6859, allocations: 0 / 0.9703 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6859, allocations: 0 / 0.9703 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.792e-05/0.6859, allocations: 0 / 0.9703 GB, free: 1.629 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001464/0.6874, allocations: 1.055 MB / 0.9714 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.6874, allocations: 11.97 kB / 0.9714 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.6875, allocations: 98.52 kB / 0.9715 GB, free: 412 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009125/0.6885, allocations: 198.8 kB / 0.9717 GB, free: 212 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000801/0.6893, allocations: 0.5481 MB / 0.9722 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.6893, allocations: 41.31 kB / 0.9722 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.92e-05/0.6894, allocations: 60 kB / 0.9723 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.6904, allocations: 0.775 MB / 0.9731 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.6905, allocations: 7.938 kB / 0.9731 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.6905, allocations: 27.94 kB / 0.9731 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.6906, allocations: 24.98 kB / 0.9731 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008184/0.6914, allocations: 455.3 kB / 0.9736 GB, free: 14.14 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.003459/0.6948, allocations: 4.382 MB / 0.9778 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.695, allocations: 98.36 kB / 0.9779 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.932e-05/0.6951, allocations: 71.58 kB / 0.978 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.6952, allocations: 97.11 kB / 0.9781 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.6953, allocations: 42.48 kB / 0.9781 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 3.326e-06/0.6953, allocations: 0 / 0.9781 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.000616/0.6959, allocations: 245.1 kB / 0.9784 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.696, allocations: 136.5 kB / 0.9785 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.697, allocations: 0.8369 MB / 0.9793 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.697, allocations: 25.7 kB / 0.9793 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.6973, allocations: 406.8 kB / 0.9797 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.6973, allocations: 47.44 kB / 0.9798 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.6974, allocations: 89.89 kB / 0.9799 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.6975, allocations: 329.9 kB / 0.9802 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.6978, allocations: 104.7 kB / 0.9803 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.6982, allocations: 366 kB / 0.9806 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.6987, allocations: 441.5 kB / 0.981 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.6987, allocations: 6.562 kB / 0.981 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008581/0.6996, allocations: 0.4891 MB / 0.9815 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.6996, allocations: 8.125 kB / 0.9815 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.6996, allocations: 15.94 kB / 0.9815 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6996, allocations: 8 kB / 0.9816 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.6999, allocations: 91.89 kB / 0.9816 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.7, allocations: 19.92 kB / 0.9817 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.7006, allocations: 111 kB / 0.9818 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.7006, allocations: 27.94 kB / 0.9818 GB, free: 5.098 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002179/0.7008, allocations: 230.2 kB / 0.982 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.701, allocations: 71.16 kB / 0.9821 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-05/0.7011, allocations: 74.17 kB / 0.9822 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7011, allocations: 0 / 0.9822 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.7011, allocations: 11.94 kB / 0.9822 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7011, allocations: 0 / 0.9822 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.7023, allocations: 1.128 MB / 0.9833 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.7023, allocations: 0 / 0.9833 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.202e-05/0.7024, allocations: 23.98 kB / 0.9833 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.7024, allocations: 4 kB / 0.9833 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.7024, allocations: 7.938 kB / 0.9833 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7024, allocations: 3.938 kB / 0.9833 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.7024, allocations: 4 kB / 0.9833 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.7027, allocations: 264.1 kB / 0.9836 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.7029, allocations: 176.1 kB / 0.9837 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.509e-05/0.703, allocations: 4 kB / 0.9837 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.7033, allocations: 19.92 kB / 0.9837 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.7033, allocations: 23.86 kB / 0.9838 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.7033, allocations: 4 kB / 0.9838 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007414/0.7041, allocations: 0.5849 MB / 0.9843 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7041, allocations: 0 / 0.9843 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000508/0.7046, allocations: 155.8 kB / 0.9845 GB, free: 2.168 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0008083/0.7054, allocations: 0.8901 MB / 0.9854 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004569/0.7059, allocations: 245.2 kB / 0.9856 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7059, allocations: 0 / 0.9856 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.56e-05/0.706, allocations: 56.22 kB / 0.9857 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.7074, allocations: 380.6 kB / 0.986 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006526/0.7139, allocations: 5.447 MB / 0.9913 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.7144, allocations: 0.9331 MB / 0.9922 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004285/0.7148, allocations: 150 kB / 0.9924 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.7151, allocations: 235.3 kB / 0.9926 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.7151, allocations: 4 kB / 0.9926 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.7554, allocations: 18.27 MB / 1.01 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.957, allocations: 16.84 kB / 1.01 GB, free: 7.602 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)