Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_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.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001197/0.001197, allocations: 195.9 kB / 16.14 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.227/1.227, allocations: 205.1 MB / 222 MB, free: 4.98 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.497/1.497, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001502/0.001502, allocations: 71.83 kB / 0.6709 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1697, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4639/0.6336, allocations: 184.9 MB / 0.9633 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.6452, allocations: 13.05 MB / 0.9761 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009395/0.6461, allocations: 25.34 kB / 0.9761 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009789/0.6471, allocations: 335.3 kB / 0.9764 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.6488, allocations: 0.8685 MB / 0.9773 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.6502, allocations: 0.606 MB / 0.9779 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.6517, allocations: 2.092 MB / 0.9799 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.6523, allocations: 0.5612 MB / 0.9804 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.6551, allocations: 1.598 MB / 0.982 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.6562, allocations: 0.5246 MB / 0.9825 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.6562, allocations: 41.62 kB / 0.9826 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.6576, allocations: 0.9655 MB / 0.9835 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.6578, allocations: 262.1 kB / 0.9837 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.6581, allocations: 367.1 kB / 0.9841 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.6591, allocations: 1.174 MB / 0.9852 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.6591, allocations: 1.219 kB / 0.9852 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.81e-07/0.6591, allocations: 0 / 0.9852 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.6591, allocations: 3.938 kB / 0.9852 GB, free: 4.492 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00128/0.6604, allocations: 1.054 MB / 0.9863 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.6605, allocations: 9.625 kB / 0.9863 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.61e-05/0.6606, allocations: 101.4 kB / 0.9864 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008192/0.6614, allocations: 192.4 kB / 0.9866 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.662, allocations: 0.5145 MB / 0.9871 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.6623, allocations: 108.8 kB / 0.9872 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/0.6624, allocations: 55.91 kB / 0.9872 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008972/0.6633, allocations: 0.7674 MB / 0.988 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.6633, allocations: 4.125 kB / 0.988 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.6634, allocations: 32.94 kB / 0.988 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.6634, allocations: 21.06 kB / 0.988 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.6642, allocations: 474.2 kB / 0.9885 GB, free: 19.13 MB / 0.7481 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.002899/0.6671, allocations: 4.164 MB / 0.9926 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.365e-05/0.6672, allocations: 105.6 kB / 0.9927 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.472e-05/0.6673, allocations: 74.11 kB / 0.9927 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.6674, allocations: 100.2 kB / 0.9928 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.6674, allocations: 33.38 kB / 0.9929 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.6675, allocations: 0 / 0.9929 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0005283/0.668, allocations: 240.6 kB / 0.9931 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.668, allocations: 137.5 kB / 0.9932 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009147/0.669, allocations: 0.8325 MB / 0.994 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.669, allocations: 29.83 kB / 0.9941 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.6692, allocations: 393.9 kB / 0.9944 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.6693, allocations: 38.19 kB / 0.9945 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.6694, allocations: 88.03 kB / 0.9945 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.6695, allocations: 324.4 kB / 0.9949 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.6697, allocations: 113.7 kB / 0.995 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.67, allocations: 344.4 kB / 0.9953 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.6704, allocations: 417.1 kB / 0.9957 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6705, allocations: 1.875 kB / 0.9957 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007677/0.6712, allocations: 487.4 kB / 0.9962 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6713, allocations: 8.312 kB / 0.9962 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6713, allocations: 11 kB / 0.9962 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6713, allocations: 9.656 kB / 0.9962 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.6716, allocations: 89.06 kB / 0.9963 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.6716, allocations: 21.02 kB / 0.9963 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.6722, allocations: 133 kB / 0.9964 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.6723, allocations: 18.72 kB / 0.9964 GB, free: 13.95 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0001919/0.6725, allocations: 228.3 kB / 0.9967 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.6726, allocations: 73.09 kB / 0.9967 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.6727, allocations: 73.67 kB / 0.9968 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6727, allocations: 6.719 kB / 0.9968 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6727, allocations: 2.094 kB / 0.9968 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6727, allocations: 3.938 kB / 0.9968 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.6737, allocations: 1.128 MB / 0.9979 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6737, allocations: 2.594 kB / 0.9979 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.6738, allocations: 18.52 kB / 0.9979 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6738, allocations: 5.531 kB / 0.9979 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.6738, allocations: 2.781 kB / 0.9979 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.6738, allocations: 4.719 kB / 0.9979 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.6738, allocations: 2.531 kB / 0.9979 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.674, allocations: 262 kB / 0.9982 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.6742, allocations: 179.3 kB / 0.9984 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.87e-05/0.6743, allocations: 5.281 kB / 0.9984 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.6746, allocations: 23.44 kB / 0.9984 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.6746, allocations: 14.94 kB / 0.9984 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.6746, allocations: 8.812 kB / 0.9984 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006169/0.6753, allocations: 0.5803 MB / 0.999 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6753, allocations: 0 / 0.999 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004682/0.6758, allocations: 157.2 kB / 0.9991 GB, free: 12.23 MB / 0.7481 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.0006768/0.6764, allocations: 0.8837 MB / 1 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004013/0.6768, allocations: 231.6 kB / 1 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6769, allocations: 4.125 kB / 1 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.6769, allocations: 50.92 kB / 1 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.6783, allocations: 365.5 kB / 1.001 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006044/0.6844, allocations: 5.784 MB / 1.006 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.6847, allocations: 0.9343 MB / 1.007 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004183/0.6852, allocations: 149.5 kB / 1.007 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.6854, allocations: 224.2 kB / 1.008 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of SimCode: time 3.9e-07/0.6854, allocations: 0 / 1.008 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.69/2.375, allocations: 17.14 MB / 1.024 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/2.375, allocations: 271.4 kB / 1.025 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.166/5.541, allocations: 0 / 1.025 GB, free: 15.34 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)