Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.0009193/0.0009193, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009905/0.0009905, allocations: 168.7 kB / 15.95 MB, free: 204 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.586/1.586, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.804/1.804, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005199/0.0005201, allocations: 14.75 kB / 0.6738 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.712/0.9906, allocations: 170.4 MB / 0.9538 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01399/1.005, allocations: 12.1 MB / 0.9656 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/1.006, allocations: 26.59 kB / 0.9656 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/1.007, allocations: 301.3 kB / 0.9659 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0029/1.01, allocations: 0.8787 MB / 0.9667 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/1.012, allocations: 0.5285 MB / 0.9673 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003795/1.016, allocations: 2.327 MB / 0.9695 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/1.017, allocations: 0.6025 MB / 0.9701 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/1.021, allocations: 1.351 MB / 0.9714 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/1.022, allocations: 0.6259 MB / 0.9721 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/1.022, allocations: 34.12 kB / 0.9721 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/1.024, allocations: 451.9 kB / 0.9725 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004058/1.024, allocations: 331.8 kB / 0.9728 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/1.025, allocations: 205.7 kB / 0.973 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/1.026, allocations: 1.029 MB / 0.974 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.026, allocations: 3.938 kB / 0.974 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.542e-06/1.026, allocations: 0 / 0.974 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.248e-05/1.026, allocations: 0 / 0.974 GB, free: 2.727 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001874/1.028, allocations: 1.059 MB / 0.9751 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.028, allocations: 8.812 kB / 0.9751 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/1.028, allocations: 122.7 kB / 0.9752 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/1.029, allocations: 210.9 kB / 0.9754 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009469/1.03, allocations: 0.6204 MB / 0.976 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/1.03, allocations: 58.31 kB / 0.9761 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/1.031, allocations: 75.5 kB / 0.9761 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/1.032, allocations: 0.927 MB / 0.977 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.032, allocations: 3.312 kB / 0.977 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/1.032, allocations: 37.64 kB / 0.9771 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/1.032, allocations: 25.94 kB / 0.9771 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008336/1.033, allocations: 0.6091 MB / 0.9777 GB, free: 17.34 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.004137/1.037, allocations: 4.585 MB / 0.9822 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/1.038, allocations: 0.5313 MB / 0.9827 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/1.038, allocations: 242.6 kB / 0.9829 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/1.038, allocations: 102 kB / 0.983 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/1.038, allocations: 47.94 kB / 0.9831 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/1.038, allocations: 0 / 0.9831 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002772/1.041, allocations: 1.572 MB / 0.9846 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/1.041, allocations: 109.9 kB / 0.9847 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007809/1.042, allocations: 0.7026 MB / 0.9854 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/1.042, allocations: 36.02 kB / 0.9854 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/1.042, allocations: 409.4 kB / 0.9858 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/1.042, allocations: 166.4 kB / 0.986 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/1.042, allocations: 13.09 kB / 0.986 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.042, allocations: 390.9 kB / 0.9864 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/1.043, allocations: 183.7 kB / 0.9865 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/1.043, allocations: 428.2 kB / 0.9869 GB, free: 11.42 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/1.045, allocations: 0.6687 MB / 0.9876 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.045, allocations: 3 kB / 0.9876 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009569/1.046, allocations: 0.6553 MB / 0.9882 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.046, allocations: 11.44 kB / 0.9883 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.046, allocations: 5.844 kB / 0.9883 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.046, allocations: 11.56 kB / 0.9883 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/1.046, allocations: 127 kB / 0.9884 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.046, allocations: 11.86 kB / 0.9884 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006001/1.047, allocations: 52.47 kB / 0.9885 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/1.047, allocations: 27.81 kB / 0.9885 GB, free: 10.98 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003722/1.047, allocations: 277.6 kB / 0.9887 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/1.047, allocations: 79.69 kB / 0.9888 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/1.048, allocations: 95.08 kB / 0.9889 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.048, allocations: 3 kB / 0.9889 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.048, allocations: 3.531 kB / 0.9889 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006446/1.048, allocations: 0.6884 MB / 0.9896 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/1.05, allocations: 1.649 MB / 0.9912 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.05, allocations: 3.562 kB / 0.9912 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/1.051, allocations: 103.7 kB / 0.9913 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/1.051, allocations: 5.625 kB / 0.9913 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/1.051, allocations: 21.17 kB / 0.9913 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/1.051, allocations: 7.359 kB / 0.9913 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.051, allocations: 10.12 kB / 0.9913 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/1.052, allocations: 0.8891 MB / 0.9922 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/1.052, allocations: 212 kB / 0.9924 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.827e-05/1.052, allocations: 14.81 kB / 0.9924 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/1.053, allocations: 43.47 kB / 0.9925 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/1.053, allocations: 43.3 kB / 0.9925 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/1.053, allocations: 24.17 kB / 0.9925 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005458/1.053, allocations: 0.496 MB / 0.993 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.053, allocations: 1.969 kB / 0.993 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007352/1.054, allocations: 206.5 kB / 0.9932 GB, free: 8.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001747/1.056, allocations: 1.513 MB / 0.9947 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007584/1.057, allocations: 465.5 kB / 0.9951 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.057, allocations: 384 / 0.9951 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/1.057, allocations: 214.8 kB / 0.9953 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/1.059, allocations: 464.1 kB / 0.9958 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/1.067, allocations: 4.96 MB / 1.001 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008006/1.068, allocations: 1.027 MB / 1.002 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008636/1.069, allocations: 203.4 kB / 1.002 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/1.069, allocations: 296.2 kB / 1.002 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/1.069, allocations: 0 / 1.002 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/1.112, allocations: 21.54 MB / 1.023 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/1.112, allocations: 268.3 kB / 1.023 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.449, allocations: 0 / 1.023 GB, free: 7.824 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: