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.0007663/0.0007663, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008122/0.0008123, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.683/1.683, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005261/0.0005262, allocations: 11.22 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2583, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.7656/1.024, allocations: 170.2 MB / 0.9536 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01453/1.038, allocations: 12.05 MB / 0.9654 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/1.04, allocations: 22.59 kB / 0.9654 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/1.041, allocations: 282 kB / 0.9657 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002147/1.043, allocations: 0.7052 MB / 0.9664 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/1.045, allocations: 0.5624 MB / 0.9669 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002167/1.047, allocations: 1.773 MB / 0.9686 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000787/1.048, allocations: 492.4 kB / 0.9691 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003813/1.052, allocations: 1.273 MB / 0.9704 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00088/1.053, allocations: 478.3 kB / 0.9708 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.831e-05/1.053, allocations: 25.94 kB / 0.9708 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/1.054, allocations: 0.5966 MB / 0.9714 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/1.055, allocations: 245.5 kB / 0.9716 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004345/1.055, allocations: 167.5 kB / 0.9718 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/1.056, allocations: 0.819 MB / 0.9726 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.056, allocations: 0 / 0.9726 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/1.056, allocations: 7.938 kB / 0.9726 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.168e-05/1.056, allocations: 0 / 0.9726 GB, free: 18.81 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.001516/1.058, allocations: 0.9225 MB / 0.9735 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/1.058, allocations: 9.625 kB / 0.9735 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/1.058, allocations: 107.2 kB / 0.9736 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/1.059, allocations: 199.1 kB / 0.9738 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008328/1.06, allocations: 0.5039 MB / 0.9743 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/1.06, allocations: 112.3 kB / 0.9744 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-05/1.06, allocations: 55.88 kB / 0.9745 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/1.062, allocations: 0.7644 MB / 0.9752 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/1.062, allocations: 5.062 kB / 0.9752 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/1.062, allocations: 33.3 kB / 0.9753 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/1.062, allocations: 21.19 kB / 0.9753 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/1.063, allocations: 477.9 kB / 0.9757 GB, free: 17.44 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.003988/1.067, allocations: 4.169 MB / 0.9798 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/1.067, allocations: 104.3 kB / 0.9799 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/1.067, allocations: 69.56 kB / 0.98 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/1.067, allocations: 101.2 kB / 0.9801 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/1.067, allocations: 40.22 kB / 0.9801 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/1.067, allocations: 0 / 0.9801 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005795/1.068, allocations: 244.8 kB / 0.9803 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/1.068, allocations: 135.8 kB / 0.9805 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/1.069, allocations: 0.8286 MB / 0.9813 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/1.069, allocations: 33.05 kB / 0.9813 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/1.069, allocations: 399.5 kB / 0.9817 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/1.069, allocations: 37.11 kB / 0.9817 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/1.069, allocations: 7.188 kB / 0.9817 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.069, allocations: 320 kB / 0.982 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/1.07, allocations: 114.6 kB / 0.9821 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/1.07, allocations: 343.2 kB / 0.9825 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/1.07, allocations: 173.1 kB / 0.9826 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.07, allocations: 3.781 kB / 0.9826 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007582/1.071, allocations: 490.7 kB / 0.9831 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.071, allocations: 9.438 kB / 0.9831 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.071, allocations: 6.781 kB / 0.9831 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.071, allocations: 14.89 kB / 0.9831 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/1.071, allocations: 101.7 kB / 0.9832 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/1.071, allocations: 10 kB / 0.9832 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/1.072, allocations: 133.6 kB / 0.9834 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/1.072, allocations: 26.56 kB / 0.9834 GB, free: 12.59 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000269/1.072, allocations: 223.7 kB / 0.9836 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/1.073, allocations: 79.11 kB / 0.9837 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/1.073, allocations: 74.17 kB / 0.9838 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/1.073, allocations: 0 / 0.9838 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/1.073, allocations: 7.328 kB / 0.9838 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/1.073, allocations: 3.984 kB / 0.9838 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/1.074, allocations: 1.125 MB / 0.9849 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.074, allocations: 6.547 kB / 0.9849 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/1.074, allocations: 17.41 kB / 0.9849 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.074, allocations: 2.594 kB / 0.9849 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/1.074, allocations: 5.188 kB / 0.9849 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/1.074, allocations: 6.484 kB / 0.9849 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.074, allocations: 11.33 kB / 0.9849 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/1.074, allocations: 264.4 kB / 0.9852 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/1.075, allocations: 166.2 kB / 0.9853 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/1.075, allocations: 11.86 kB / 0.9853 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/1.075, allocations: 19.77 kB / 0.9854 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/1.075, allocations: 16.84 kB / 0.9854 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/1.075, allocations: 7.672 kB / 0.9854 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007792/1.076, allocations: 0.5867 MB / 0.9859 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.076, allocations: 0 / 0.9859 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005836/1.076, allocations: 155.9 kB / 0.9861 GB, free: 10.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008828/1.077, allocations: 0.8866 MB / 0.987 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004821/1.078, allocations: 232.6 kB / 0.9872 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.078, allocations: 3.312 kB / 0.9872 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/1.078, allocations: 50.75 kB / 0.9872 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/1.079, allocations: 356.8 kB / 0.9876 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/1.085, allocations: 3.846 MB / 0.9913 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/1.086, allocations: 0.9367 MB / 0.9922 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006377/1.087, allocations: 137.3 kB / 0.9924 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/1.087, allocations: 227.2 kB / 0.9926 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/1.087, allocations: 0 / 0.9926 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04692/1.134, allocations: 17.26 MB / 1.009 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/1.134, allocations: 250 kB / 1.01 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.325, allocations: 3.375 kB / 1.01 GB, free: 14.7 MB / 0.7481 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/linux/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) Environment - environmentSimulation: