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.001034/0.001034, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001069/0.001069, allocations: 177.3 kB / 15.95 MB, free: 216 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.563/1.563, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.706/1.706, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0004952/0.0004953, allocations: 12.53 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2292, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.8205/1.05, allocations: 158 MB / 0.9416 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008241/1.058, allocations: 5.56 MB / 0.947 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/1.059, allocations: 27.12 kB / 0.947 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/1.061, allocations: 0.5594 MB / 0.9476 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004795/1.066, allocations: 1.629 MB / 0.9492 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/1.069, allocations: 1.179 MB / 0.9503 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003347/1.072, allocations: 1.445 MB / 0.9517 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/1.074, allocations: 0.709 MB / 0.9524 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/1.075, allocations: 0.7398 MB / 0.9531 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008919/1.076, allocations: 0.5042 MB / 0.9536 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/1.076, allocations: 40.53 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/1.079, allocations: 0.8904 MB / 0.9545 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004225/1.079, allocations: 394.5 kB / 0.9549 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006713/1.08, allocations: 252.4 kB / 0.9552 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/1.082, allocations: 1.433 MB / 0.9566 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/1.082, allocations: 0 / 0.9566 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.82e-07/1.082, allocations: 0 / 0.9566 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.539e-05/1.082, allocations: 1.406 kB / 0.9566 GB, free: 21.21 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.001977/1.084, allocations: 1.242 MB / 0.9578 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.084, allocations: 9.375 kB / 0.9578 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/1.084, allocations: 139.9 kB / 0.9579 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/1.086, allocations: 346.2 kB / 0.9582 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.087, allocations: 0.7498 MB / 0.959 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/1.088, allocations: 127.6 kB / 0.9591 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/1.088, allocations: 85.41 kB / 0.9592 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/1.09, allocations: 1.061 MB / 0.9602 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.09, allocations: 2.906 kB / 0.9602 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/1.09, allocations: 38.09 kB / 0.9603 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/1.09, allocations: 36.22 kB / 0.9603 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/1.091, allocations: 0.8386 MB / 0.9611 GB, free: 19.89 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.005807/1.097, allocations: 4.046 MB / 0.9651 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/1.098, allocations: 385.3 kB / 0.9654 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.276e-05/1.098, allocations: 6.531 kB / 0.9654 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/1.098, allocations: 37.69 kB / 0.9655 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 4.077e-06/1.098, allocations: 4 kB / 0.9655 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.00336/1.101, allocations: 1.32 MB / 0.9668 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/1.101, allocations: 62.73 kB / 0.9668 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/1.103, allocations: 0.979 MB / 0.9678 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.941e-05/1.103, allocations: 37.92 kB / 0.9678 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/1.103, allocations: 495.4 kB / 0.9683 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/1.104, allocations: 136.7 kB / 0.9684 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/1.104, allocations: 13.03 kB / 0.9684 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.104, allocations: 338.4 kB / 0.9687 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/1.104, allocations: 234.6 kB / 0.969 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/1.105, allocations: 409 kB / 0.9694 GB, free: 16.32 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/1.107, allocations: 0.7372 MB / 0.9701 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/1.107, allocations: 2.344 kB / 0.9701 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001614/1.108, allocations: 0.7582 MB / 0.9708 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.108, allocations: 6.75 kB / 0.9708 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.108, allocations: 8.5 kB / 0.9708 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/1.108, allocations: 9.188 kB / 0.9708 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/1.109, allocations: 143 kB / 0.971 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/1.109, allocations: 8.719 kB / 0.971 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.11, allocations: 97.62 kB / 0.9711 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/1.11, allocations: 26.97 kB / 0.9711 GB, free: 16.07 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0006357/1.111, allocations: 312.8 kB / 0.9714 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/1.111, allocations: 103 kB / 0.9715 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/1.111, allocations: 105.4 kB / 0.9716 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.111, allocations: 4 kB / 0.9716 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.111, allocations: 0 / 0.9716 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006886/1.112, allocations: 0.6679 MB / 0.9723 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/1.115, allocations: 1.586 MB / 0.9738 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/1.115, allocations: 4.75 kB / 0.9738 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/1.115, allocations: 87.39 kB / 0.9739 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/1.115, allocations: 4.906 kB / 0.9739 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/1.115, allocations: 17.42 kB / 0.9739 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/1.115, allocations: 8.562 kB / 0.9739 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.115, allocations: 7.656 kB / 0.9739 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009738/1.116, allocations: 1.056 MB / 0.975 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/1.117, allocations: 235.9 kB / 0.9752 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/1.117, allocations: 16.14 kB / 0.9752 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/1.117, allocations: 68.02 kB / 0.9753 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/1.118, allocations: 32.22 kB / 0.9753 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.043e-05/1.118, allocations: 35.14 kB / 0.9753 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009883/1.119, allocations: 0.6939 MB / 0.976 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.119, allocations: 0 / 0.976 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00102/1.12, allocations: 256.8 kB / 0.9763 GB, free: 14.09 MB / 0.7325 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 (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.002021/1.122, allocations: 2.77 MB / 0.979 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009585/1.123, allocations: 496 kB / 0.9794 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.123, allocations: 3 kB / 0.9794 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/1.123, allocations: 195.6 kB / 0.9796 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/1.126, allocations: 0.5726 MB / 0.9802 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/1.136, allocations: 8.909 MB / 0.9889 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/1.137, allocations: 1.12 MB / 0.99 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001178/1.138, allocations: 238.7 kB / 0.9902 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/1.138, allocations: 338 kB / 0.9905 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of SimCode: time 1.683e-06/1.138, allocations: 0 / 0.9905 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3175/1.456, allocations: 27.11 MB / 1.017 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/1.456, allocations: 241.5 kB / 1.017 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.86, allocations: 0 / 1.017 GB, free: 3.355 MB / 0.7481 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/linux/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) Environment - environmentSimulation: