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.00155/0.00155, allocations: 109.4 kB / 15.69 MB, free: 128 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.001224/0.001224, allocations: 188 kB / 16.62 MB, free: 6.582 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.346/1.346, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.647/1.647, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.00248/0.00248, allocations: 67.28 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2329, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6552/0.8881, allocations: 190.3 MB / 0.9695 GB, free: 16 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008457/0.8966, allocations: 5.635 MB / 0.975 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.8979, allocations: 39.12 kB / 0.975 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.8993, allocations: 0.564 MB / 0.9756 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.903, allocations: 1.596 MB / 0.9771 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.9061, allocations: 1.195 MB / 0.9783 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003/0.9091, allocations: 2.485 MB / 0.9807 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.9104, allocations: 0.987 MB / 0.9817 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.912, allocations: 1.026 MB / 0.9827 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.9134, allocations: 0.829 MB / 0.9835 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.9135, allocations: 99.66 kB / 0.9836 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.9161, allocations: 1.523 MB / 0.9851 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.9166, allocations: 491.6 kB / 0.9855 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005755/0.9171, allocations: 0.6204 MB / 0.9862 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.9195, allocations: 2.101 MB / 0.9882 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9196, allocations: 4 kB / 0.9882 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9196, allocations: 3.938 kB / 0.9882 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.9196, allocations: 0 / 0.9882 GB, free: 9.711 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.002025/0.9216, allocations: 1.47 MB / 0.9896 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.9217, allocations: 9.812 kB / 0.9897 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.9218, allocations: 136.3 kB / 0.9898 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.9236, allocations: 333.4 kB / 0.9901 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.9247, allocations: 0.7946 MB / 0.9909 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.114e-05/0.9248, allocations: 65.06 kB / 0.9909 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.9249, allocations: 90.78 kB / 0.991 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.9265, allocations: 1.075 MB / 0.9921 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.9265, allocations: 3 kB / 0.9921 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.9266, allocations: 38 kB / 0.9921 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.9267, allocations: 35.95 kB / 0.9922 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.928, allocations: 0.8242 MB / 0.993 GB, free: 6.59 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.004706/0.9327, allocations: 4.247 MB / 0.9971 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.9332, allocations: 382.5 kB / 0.9975 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.9335, allocations: 212.5 kB / 0.9977 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.9337, allocations: 103.9 kB / 0.9978 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.9337, allocations: 43.22 kB / 0.9978 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/0.9337, allocations: 4 kB / 0.9978 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002153/0.9359, allocations: 1.322 MB / 0.9991 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.9359, allocations: 59.88 kB / 0.9992 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.9371, allocations: 0.9926 MB / 1 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.9372, allocations: 34.58 kB / 1 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.9375, allocations: 496.2 kB / 1.001 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.9376, allocations: 145.2 kB / 1.001 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.9378, allocations: 122.5 kB / 1.001 GB, free: 464 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.9379, allocations: 323.2 kB / 1.001 GB, free: 140 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.9383, allocations: 237.8 kB / 1.001 GB, free: 24 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.9389, allocations: 441.7 kB / 1.002 GB, free: 15.66 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.00215/0.9411, allocations: 1.212 MB / 1.003 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.9411, allocations: 2.375 kB / 1.003 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001202/0.9423, allocations: 0.7705 MB / 1.004 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9423, allocations: 6.844 kB / 1.004 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.9423, allocations: 5.375 kB / 1.004 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.9423, allocations: 14.03 kB / 1.004 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.9428, allocations: 148.1 kB / 1.004 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.9429, allocations: 14.38 kB / 1.004 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/0.9436, allocations: 53.33 kB / 1.004 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.9437, allocations: 28.42 kB / 1.004 GB, free: 14.39 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.00034/0.944, allocations: 320.3 kB / 1.004 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.9442, allocations: 95.03 kB / 1.004 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.9443, allocations: 108.2 kB / 1.005 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.9443, allocations: 2.125 kB / 1.005 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9443, allocations: 1.562 kB / 1.005 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006114/0.945, allocations: 0.6801 MB / 1.005 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.947, allocations: 1.572 MB / 1.007 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.947, allocations: 8.625 kB / 1.007 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.9474, allocations: 87.55 kB / 1.007 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.9474, allocations: 5.656 kB / 1.007 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.9474, allocations: 11.88 kB / 1.007 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/0.9474, allocations: 16.73 kB / 1.007 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.9475, allocations: 8.688 kB / 1.007 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000927/0.9484, allocations: 0.8547 MB / 1.008 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.9487, allocations: 236.6 kB / 1.008 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.9488, allocations: 13.62 kB / 1.008 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/0.9494, allocations: 43.28 kB / 1.008 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.9495, allocations: 38.91 kB / 1.008 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/0.9495, allocations: 25.45 kB / 1.008 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008703/0.9504, allocations: 0.7014 MB / 1.009 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9504, allocations: 0 / 1.009 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006986/0.9511, allocations: 262.2 kB / 1.009 GB, free: 10.96 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.001504/0.9526, allocations: 1.495 MB / 1.01 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008077/0.9534, allocations: 0.4977 MB / 1.011 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9535, allocations: 2.688 kB / 1.011 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.9537, allocations: 187.9 kB / 1.011 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.9561, allocations: 0.6113 MB / 1.012 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009053/0.9651, allocations: 7.57 MB / 1.019 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.9658, allocations: 1.093 MB / 1.02 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007574/0.9665, allocations: 248.4 kB / 1.02 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.9669, allocations: 339.9 kB / 1.021 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.9669, allocations: 6.875 kB / 1.021 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05237/1.019, allocations: 27.59 MB / 1.048 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/9.549, allocations: 14.31 kB / 1.048 GB, free: 9.168 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)