Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_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.004135/0.004135, allocations: 101.7 kB / 15.88 MB, free: 6.32 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.001029/0.001029, allocations: 198.3 kB / 16.79 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6007/0.6007, allocations: 115.3 MB / 406 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 59.12 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1187, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.3742/0.4929, allocations: 188.1 MB / 0.7395 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008507/0.5015, allocations: 5.752 MB / 0.7451 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.5026, allocations: 35.75 kB / 0.7452 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.504, allocations: 497.4 kB / 0.7456 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.5074, allocations: 1.521 MB / 0.7471 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.51, allocations: 1.076 MB / 0.7482 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003498/0.5135, allocations: 3.486 MB / 0.7516 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.5146, allocations: 0.8527 MB / 0.7524 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.5163, allocations: 0.8869 MB / 0.7533 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.5179, allocations: 0.8574 MB / 0.7541 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.5181, allocations: 52 kB / 0.7542 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002921/0.521, allocations: 1.703 MB / 0.7558 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004428/0.5215, allocations: 462.7 kB / 0.7563 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000608/0.5221, allocations: 0.5714 MB / 0.7568 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.5247, allocations: 2.138 MB / 0.7589 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5248, allocations: 0 / 0.7589 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5248, allocations: 4 kB / 0.7589 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.5248, allocations: 0 / 0.7589 GB, free: 6.812 MB / 0.5762 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.002239/0.527, allocations: 1.473 MB / 0.7604 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5271, allocations: 12.03 kB / 0.7604 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.5272, allocations: 143.2 kB / 0.7605 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.5291, allocations: 326.3 kB / 0.7608 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.5302, allocations: 0.7726 MB / 0.7616 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.5305, allocations: 117.9 kB / 0.7617 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.5306, allocations: 87.91 kB / 0.7618 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.5323, allocations: 1.072 MB / 0.7628 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.5323, allocations: 11.91 kB / 0.7628 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.5324, allocations: 36 kB / 0.7629 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.5325, allocations: 34 kB / 0.7629 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.5339, allocations: 0.8353 MB / 0.7637 GB, free: 1.77 MB / 0.5762 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.005146/0.5391, allocations: 4.057 MB / 0.7677 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.5397, allocations: 370.6 kB / 0.768 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.54, allocations: 208.8 kB / 0.7682 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.5402, allocations: 109.1 kB / 0.7683 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.5403, allocations: 38.56 kB / 0.7684 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.315e-06/0.5403, allocations: 0 / 0.7684 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.002498/0.5428, allocations: 1.324 MB / 0.7697 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.5428, allocations: 59.41 kB / 0.7697 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.5441, allocations: 0.9881 MB / 0.7707 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.5441, allocations: 33.7 kB / 0.7707 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.5445, allocations: 499.3 kB / 0.7712 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.5446, allocations: 146 kB / 0.7713 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.5448, allocations: 114.2 kB / 0.7714 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5449, allocations: 330 kB / 0.7718 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.5454, allocations: 237.2 kB / 0.772 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.5459, allocations: 397.3 kB / 0.7724 GB, free: 8.434 MB / 0.5919 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.002338/0.5483, allocations: 1.201 MB / 0.7735 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5483, allocations: 0 / 0.7735 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001268/0.5496, allocations: 0.7573 MB / 0.7743 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5496, allocations: 7.938 kB / 0.7743 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5496, allocations: 8 kB / 0.7743 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5496, allocations: 8 kB / 0.7743 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.5502, allocations: 140 kB / 0.7744 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.5502, allocations: 9.406 kB / 0.7744 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009045/0.5511, allocations: 91.77 kB / 0.7745 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.5512, allocations: 24 kB / 0.7745 GB, free: 6.102 MB / 0.5919 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.5516, allocations: 323 kB / 0.7749 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.5518, allocations: 98.81 kB / 0.7749 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.5519, allocations: 101 kB / 0.775 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.5519, allocations: 4 kB / 0.775 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.552, allocations: 0 / 0.775 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006337/0.5526, allocations: 0.6837 MB / 0.7757 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.5548, allocations: 1.58 MB / 0.7773 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.5548, allocations: 4.5 kB / 0.7773 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.5552, allocations: 87.89 kB / 0.7773 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.5552, allocations: 7.938 kB / 0.7774 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.5552, allocations: 16 kB / 0.7774 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.5552, allocations: 7.938 kB / 0.7774 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5552, allocations: 4 kB / 0.7774 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009678/0.5562, allocations: 0.8173 MB / 0.7782 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.5565, allocations: 243.9 kB / 0.7784 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.5566, allocations: 15.94 kB / 0.7784 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.5573, allocations: 61.67 kB / 0.7785 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.5574, allocations: 39.84 kB / 0.7785 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.5574, allocations: 23.98 kB / 0.7785 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008987/0.5583, allocations: 0.7034 MB / 0.7792 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5583, allocations: 4 kB / 0.7792 GB, free: 1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007119/0.5591, allocations: 252 kB / 0.7795 GB, free: 0.7539 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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.001542/0.5606, allocations: 1.472 MB / 0.7809 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008398/0.5615, allocations: 497 kB / 0.7814 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5615, allocations: 4 kB / 0.7814 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.5617, allocations: 185.3 kB / 0.7816 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.5641, allocations: 0.6033 MB / 0.7822 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.5745, allocations: 8.218 MB / 0.7902 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/0.5752, allocations: 1.095 MB / 0.7913 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008166/0.576, allocations: 244.2 kB / 0.7915 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.5764, allocations: 343.3 kB / 0.7918 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of SimCode: time 6.02e-07/0.5764, allocations: 0 / 0.7918 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07154/0.6479, allocations: 26.59 MB / 0.8178 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.6482, allocations: 267 kB / 0.818 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.928, allocations: 3.094 kB / 0.818 GB, free: 9.133 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)