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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 289.7 MB / 302.3 MB, free: 2.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 179.1 kB / 371.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.2 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009658/0.0009659, allocations: 94.73 kB / 0.745 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.954e-05, allocations: 3.984 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2621, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.6/5.863, allocations: 2.075 GB / 3.055 GB, free: 120.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/5.863, allocations: 85.81 kB / 3.055 GB, free: 120.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.328/8.191, allocations: 0.5644 GB / 3.62 GB, free: 171.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.492e-06/8.191, allocations: 3.031 kB / 3.62 GB, free: 171.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001547/8.191, allocations: 32.53 kB / 3.62 GB, free: 171.6 MB / 0.948 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.004222/8.195, allocations: 1.239 MB / 3.621 GB, free: 171 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/8.196, allocations: 10.22 kB / 3.621 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004552/8.196, allocations: 136 kB / 3.621 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/8.199, allocations: 327.9 kB / 3.621 GB, free: 170.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/8.202, allocations: 0.779 MB / 3.622 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000514/8.202, allocations: 135.3 kB / 3.622 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/8.203, allocations: 86.75 kB / 3.622 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/8.205, allocations: 0.9963 MB / 3.623 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/8.205, allocations: 0 / 3.623 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/8.206, allocations: 37.59 kB / 3.623 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.645e-05/8.206, allocations: 37.58 kB / 3.623 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/8.208, allocations: 0.7303 MB / 3.624 GB, free: 170.5 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007864/8.215, allocations: 4.037 MB / 3.628 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/8.216, allocations: 375.9 kB / 3.628 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/8.217, allocations: 203.9 kB / 3.629 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/8.217, allocations: 106.9 kB / 3.629 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/8.217, allocations: 42.94 kB / 3.629 GB, free: 168.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.427e-06/8.217, allocations: 0 / 3.629 GB, free: 168.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.003541/8.221, allocations: 1.159 MB / 3.63 GB, free: 168 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/8.221, allocations: 61.2 kB / 3.63 GB, free: 168 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/8.222, allocations: 0.8355 MB / 3.631 GB, free: 167.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/8.223, allocations: 37.77 kB / 3.631 GB, free: 167.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004824/8.223, allocations: 497.6 kB / 3.631 GB, free: 167.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/8.223, allocations: 133.9 kB / 3.631 GB, free: 167.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/8.223, allocations: 6.562 kB / 3.631 GB, free: 167.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/8.223, allocations: 332.4 kB / 3.632 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/8.224, allocations: 199.8 kB / 3.632 GB, free: 167.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/8.225, allocations: 385.6 kB / 3.632 GB, free: 167 MB / 0.948 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.002453/8.227, allocations: 0.699 MB / 3.633 GB, free: 166.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/8.227, allocations: 0 / 3.633 GB, free: 166.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00175/8.229, allocations: 0.6811 MB / 3.634 GB, free: 166.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/8.229, allocations: 9.281 kB / 3.634 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/8.229, allocations: 3.156 kB / 3.634 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/8.229, allocations: 8.844 kB / 3.634 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008147/8.23, allocations: 139.4 kB / 3.634 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/8.23, allocations: 17.8 kB / 3.634 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/8.231, allocations: 97.52 kB / 3.634 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/8.232, allocations: 25.39 kB / 3.634 GB, free: 166.8 MB / 0.948 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 () * 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.0002317/8.232, allocations: 151.1 kB / 3.634 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/8.232, allocations: 98.11 kB / 3.634 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/8.232, allocations: 96.78 kB / 3.634 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/8.232, allocations: 5.5 kB / 3.634 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/8.232, allocations: 0 / 3.634 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008329/8.233, allocations: 0.6707 MB / 3.635 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003739/8.237, allocations: 1.574 MB / 3.636 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/8.237, allocations: 4.828 kB / 3.636 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/8.238, allocations: 87.98 kB / 3.636 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/8.238, allocations: 6.188 kB / 3.636 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/8.238, allocations: 13.8 kB / 3.636 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/8.238, allocations: 11.62 kB / 3.637 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/8.238, allocations: 6.969 kB / 3.637 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/8.239, allocations: 1.041 MB / 3.638 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000694/8.24, allocations: 238.5 kB / 3.638 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/8.24, allocations: 14.94 kB / 3.638 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/8.242, allocations: 61.22 kB / 3.638 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/8.242, allocations: 42.3 kB / 3.638 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.542e-05/8.242, allocations: 25.16 kB / 3.638 GB, free: 165.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001496/8.243, allocations: 0.6582 MB / 3.639 GB, free: 164.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/8.243, allocations: 0 / 3.639 GB, free: 164.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002206/8.246, allocations: 384.2 kB / 3.639 GB, free: 164.9 MB / 0.948 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 () * 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.005366/8.251, allocations: 3.903 MB / 3.643 GB, free: 162.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001169/8.252, allocations: 463.1 kB / 3.643 GB, free: 162.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/8.252, allocations: 3.75 kB / 3.643 GB, free: 162.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003561/8.253, allocations: 182.4 kB / 3.643 GB, free: 162.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003912/8.257, allocations: 0.5824 MB / 3.644 GB, free: 162.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/8.262, allocations: 1.661 MB / 3.646 GB, free: 161.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000979/8.263, allocations: 1.116 MB / 3.647 GB, free: 161.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001642/8.264, allocations: 236.7 kB / 3.647 GB, free: 161.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007442/8.265, allocations: 338.3 kB / 3.647 GB, free: 161.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.202e-06/8.265, allocations: 0 / 3.647 GB, free: 161.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1381/8.403, allocations: 50.62 MB / 3.697 GB, free: 159 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/8.403, allocations: 208.3 kB / 3.697 GB, free: 158.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.798/12.2, allocations: 4 kB / 3.697 GB, free: 158.7 MB / 0.948 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)