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.001075/0.001075, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.324/1.324, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.699/1.699, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.00144/0.00144, allocations: 74.2 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2104, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6279/0.8383, allocations: 190.3 MB / 0.9693 GB, free: 0 / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00873/0.8471, allocations: 5.651 MB / 0.9748 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.8487, allocations: 38.69 kB / 0.9749 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.8502, allocations: 0.5632 MB / 0.9754 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.8545, allocations: 1.59 MB / 0.977 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.8577, allocations: 1.193 MB / 0.9781 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003348/0.8611, allocations: 2.48 MB / 0.9806 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.8623, allocations: 0.9879 MB / 0.9815 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.8642, allocations: 1.027 MB / 0.9825 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.8656, allocations: 0.8135 MB / 0.9833 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.8658, allocations: 101.7 kB / 0.9834 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.8689, allocations: 1.522 MB / 0.9849 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.8694, allocations: 493.5 kB / 0.9854 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006547/0.8701, allocations: 0.6202 MB / 0.986 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.8726, allocations: 2.095 MB / 0.988 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8726, allocations: 4 kB / 0.988 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8726, allocations: 0 / 0.988 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.8726, allocations: 0 / 0.988 GB, free: 9.746 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.002035/0.8747, allocations: 1.469 MB / 0.9895 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.8747, allocations: 7.375 kB / 0.9895 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.8749, allocations: 138.5 kB / 0.9896 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.8767, allocations: 330.3 kB / 0.9899 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.8778, allocations: 0.7649 MB / 0.9907 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/0.8782, allocations: 121.8 kB / 0.9908 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.8783, allocations: 91.06 kB / 0.9909 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.8799, allocations: 1.082 MB / 0.9919 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.8799, allocations: 2.656 kB / 0.9919 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-05/0.88, allocations: 38.62 kB / 0.992 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/0.8801, allocations: 31.12 kB / 0.992 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.8815, allocations: 0.8423 MB / 0.9928 GB, free: 6.613 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.005239/0.8868, allocations: 4.289 MB / 0.997 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.8874, allocations: 389.1 kB / 0.9974 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.8877, allocations: 220.7 kB / 0.9976 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.8879, allocations: 96.41 kB / 0.9977 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.888, allocations: 37.31 kB / 0.9977 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.274e-06/0.888, allocations: 2.375 kB / 0.9977 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.0024/0.8904, allocations: 1.326 MB / 0.999 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.8904, allocations: 64.53 kB / 0.9991 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.8917, allocations: 0.9985 MB / 1 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.8917, allocations: 34.48 kB / 1 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.8921, allocations: 0.492 MB / 1.001 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.8922, allocations: 139.1 kB / 1.001 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.8925, allocations: 126.8 kB / 1.001 GB, free: 448 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8926, allocations: 328.9 kB / 1.001 GB, free: 120 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/0.8931, allocations: 240.3 kB / 1.001 GB, free: 4 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.8937, allocations: 444.2 kB / 1.002 GB, free: 15.64 MB / 0.7481 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.002303/0.896, allocations: 1.221 MB / 1.003 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8961, allocations: 0 / 1.003 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001308/0.8974, allocations: 0.7759 MB / 1.004 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.8974, allocations: 7.75 kB / 1.004 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.8974, allocations: 9.219 kB / 1.004 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.8974, allocations: 9.531 kB / 1.004 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.898, allocations: 150.8 kB / 1.004 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.898, allocations: 10.34 kB / 1.004 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/0.8989, allocations: 69.94 kB / 1.004 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.899, allocations: 26.75 kB / 1.004 GB, free: 14.36 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 system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0003715/0.8994, allocations: 310.5 kB / 1.004 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.8995, allocations: 97.69 kB / 1.004 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.8997, allocations: 105.4 kB / 1.004 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8997, allocations: 9.672 kB / 1.005 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.8997, allocations: 0 / 1.005 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000617/0.9003, allocations: 0.6767 MB / 1.005 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.9024, allocations: 1.577 MB / 1.007 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9025, allocations: 3.344 kB / 1.007 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.9029, allocations: 83.56 kB / 1.007 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.9029, allocations: 9.812 kB / 1.007 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.9029, allocations: 17.73 kB / 1.007 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.9029, allocations: 13.5 kB / 1.007 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9029, allocations: 5.25 kB / 1.007 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009712/0.9039, allocations: 0.8472 MB / 1.008 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.9042, allocations: 233.2 kB / 1.008 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.9044, allocations: 18.8 kB / 1.008 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/0.9051, allocations: 49.22 kB / 1.008 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.9051, allocations: 30.38 kB / 1.008 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.9052, allocations: 32.61 kB / 1.008 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009266/0.9061, allocations: 0.7115 MB / 1.009 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9061, allocations: 0 / 1.009 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007436/0.9069, allocations: 255.7 kB / 1.009 GB, free: 10.93 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.001505/0.9084, allocations: 1.487 MB / 1.01 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009313/0.9093, allocations: 0.5369 MB / 1.011 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.9093, allocations: 4.312 kB / 1.011 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.9096, allocations: 190.7 kB / 1.011 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.9122, allocations: 0.6231 MB / 1.012 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.9224, allocations: 7.991 MB / 1.02 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.9231, allocations: 1.096 MB / 1.021 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009561/0.924, allocations: 250.4 kB / 1.021 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.9245, allocations: 342.7 kB / 1.021 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of SimCode: time 1.392e-06/0.9245, allocations: 0 / 1.021 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05248/0.977, allocations: 27.59 MB / 1.048 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.794, allocations: 9.5 kB / 1.048 GB, free: 8.539 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)