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.001448/0.001448, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001647/0.001647, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6745/0.6745, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.47 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1364, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.548/0.6844, allocations: 190.3 MB / 0.8174 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008925/0.6934, allocations: 5.702 MB / 0.823 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.695, allocations: 43.25 kB / 0.823 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.6969, allocations: 0.561 MB / 0.8236 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.7015, allocations: 1.611 MB / 0.8252 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.7053, allocations: 1.208 MB / 0.8263 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003623/0.7089, allocations: 2.512 MB / 0.8288 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.7106, allocations: 0.9922 MB / 0.8298 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.713, allocations: 1.031 MB / 0.8308 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.7151, allocations: 0.8204 MB / 0.8316 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003218/0.7154, allocations: 100.5 kB / 0.8317 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/0.7191, allocations: 1.53 MB / 0.8332 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007932/0.7199, allocations: 489.5 kB / 0.8336 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.7213, allocations: 0.6203 MB / 0.8342 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004101/0.7254, allocations: 2.112 MB / 0.8363 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7254, allocations: 0 / 0.8363 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7255, allocations: 0 / 0.8363 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.922e-05/0.7255, allocations: 0 / 0.8363 GB, free: 0.5859 MB / 0.5919 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.003827/0.7294, allocations: 1.485 MB / 0.8378 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.7294, allocations: 6.844 kB / 0.8378 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002988/0.7297, allocations: 144.4 kB / 0.8379 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/0.732, allocations: 323.6 kB / 0.8382 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.7338, allocations: 0.8095 MB / 0.839 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.7339, allocations: 65.28 kB / 0.8391 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.734, allocations: 89.06 kB / 0.8391 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.7359, allocations: 1.07 MB / 0.8402 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.7359, allocations: 5.719 kB / 0.8402 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.736, allocations: 41.75 kB / 0.8402 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/0.7361, allocations: 31 kB / 0.8403 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.7377, allocations: 0.8316 MB / 0.8411 GB, free: 13.45 MB / 0.6075 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.005717/0.7434, allocations: 4.265 MB / 0.8452 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.744, allocations: 371.9 kB / 0.8456 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.7443, allocations: 209.3 kB / 0.8458 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.7445, allocations: 108.6 kB / 0.8459 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.7445, allocations: 37.97 kB / 0.8459 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.973e-06/0.7445, allocations: 0 / 0.8459 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002552/0.7471, allocations: 1.341 MB / 0.8472 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.7471, allocations: 59.34 kB / 0.8473 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.7485, allocations: 1.004 MB / 0.8483 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.7486, allocations: 37.7 kB / 0.8483 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.749, allocations: 0.4904 MB / 0.8488 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.7491, allocations: 133.3 kB / 0.8489 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.7493, allocations: 126.1 kB / 0.849 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.7495, allocations: 334 kB / 0.8494 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.7499, allocations: 233.2 kB / 0.8496 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.7505, allocations: 423.8 kB / 0.85 GB, free: 5.512 MB / 0.6075 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.002388/0.7529, allocations: 1.231 MB / 0.8512 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.7529, allocations: 0 / 0.8512 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001321/0.7543, allocations: 0.7679 MB / 0.8519 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7543, allocations: 8 kB / 0.8519 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.7543, allocations: 4 kB / 0.852 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.7543, allocations: 11.94 kB / 0.852 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.7549, allocations: 147.8 kB / 0.8521 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.7549, allocations: 11.94 kB / 0.8521 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008843/0.7558, allocations: 52.2 kB / 0.8522 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.7559, allocations: 28 kB / 0.8522 GB, free: 3.16 MB / 0.6075 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.0004019/0.7563, allocations: 309.5 kB / 0.8525 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.7565, allocations: 106.8 kB / 0.8526 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.7567, allocations: 112.9 kB / 0.8527 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.7567, allocations: 4 kB / 0.8527 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7567, allocations: 0 / 0.8527 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006567/0.7574, allocations: 0.6788 MB / 0.8534 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.7598, allocations: 1.573 MB / 0.8549 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7598, allocations: 4 kB / 0.8549 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.7602, allocations: 87.83 kB / 0.855 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.7602, allocations: 4 kB / 0.855 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.7602, allocations: 12 kB / 0.855 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.7602, allocations: 11.94 kB / 0.855 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.7602, allocations: 7.984 kB / 0.855 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.7613, allocations: 0.8299 MB / 0.8558 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.7617, allocations: 235.9 kB / 0.8561 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.7619, allocations: 19.94 kB / 0.8561 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006774/0.7625, allocations: 38.91 kB / 0.8561 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.7626, allocations: 39.83 kB / 0.8562 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.7627, allocations: 27.98 kB / 0.8562 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001031/0.7637, allocations: 0.7077 MB / 0.8569 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7637, allocations: 0 / 0.8569 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008825/0.7646, allocations: 256 kB / 0.8571 GB, free: 13.83 MB / 0.6231 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.001977/0.7666, allocations: 1.48 MB / 0.8586 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009228/0.7675, allocations: 0.5157 MB / 0.8591 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7676, allocations: 448 / 0.8591 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.7678, allocations: 192.4 kB / 0.8592 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.7704, allocations: 0.6029 MB / 0.8598 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.781, allocations: 7.588 MB / 0.8672 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.7818, allocations: 1.102 MB / 0.8683 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008248/0.7826, allocations: 252.3 kB / 0.8686 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/0.7831, allocations: 347.3 kB / 0.8689 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/0.7831, allocations: 0 / 0.8689 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05434/0.8374, allocations: 28.21 MB / 0.8964 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.951/9.788, allocations: 6.75 kB / 0.8965 GB, free: 5.473 MB / 0.6544 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)