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.0006792/0.0006792, allocations: 92.7 kB / 15.7 MB, free: 472 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.0007284/0.0007284, allocations: 174 kB / 16.58 MB, free: 5.938 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.191/1.191, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6098/0.6098, allocations: 113.7 MB / 405.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002706, allocations: 16 kB / 493.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.3808/0.4974, allocations: 173.1 MB / 0.726 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00703/0.5044, allocations: 5.363 MB / 0.7312 GB, free: 8.328 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007578/0.5052, allocations: 35.75 kB / 0.7312 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009132/0.5062, allocations: 389.5 kB / 0.7316 GB, free: 7.91 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002494/0.5087, allocations: 1.205 MB / 0.7328 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.5108, allocations: 0.8935 MB / 0.7337 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002648/0.5134, allocations: 2.937 MB / 0.7365 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007842/0.5142, allocations: 0.6945 MB / 0.7372 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.5154, allocations: 0.8441 MB / 0.738 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008712/0.5163, allocations: 0.7782 MB / 0.7388 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.5164, allocations: 40 kB / 0.7388 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.5181, allocations: 0.9003 MB / 0.7397 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003693/0.5185, allocations: 430.8 kB / 0.7401 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.5187, allocations: 245.1 kB / 0.7404 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.52, allocations: 1.481 MB / 0.7418 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.52, allocations: 0 / 0.7418 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.52, allocations: 4 kB / 0.7418 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5201, allocations: 0 / 0.7418 GB, free: 13.45 MB / 0.5606 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.001601/0.5217, allocations: 1.255 MB / 0.743 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.5217, allocations: 16.03 kB / 0.743 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.5219, allocations: 139.2 kB / 0.7432 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.5235, allocations: 346.2 kB / 0.7435 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.5245, allocations: 0.7536 MB / 0.7442 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000285/0.5248, allocations: 133.9 kB / 0.7444 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.5249, allocations: 84 kB / 0.7444 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.5265, allocations: 1.06 MB / 0.7455 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.5265, allocations: 0 / 0.7455 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.686e-05/0.5266, allocations: 40 kB / 0.7455 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.5266, allocations: 33.98 kB / 0.7456 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.528, allocations: 0.847 MB / 0.7464 GB, free: 8.625 MB / 0.5606 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.004455/0.5325, allocations: 4.062 MB / 0.7503 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.533, allocations: 365.5 kB / 0.7507 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.5333, allocations: 212 kB / 0.7509 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.5334, allocations: 105 kB / 0.751 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.5335, allocations: 42.55 kB / 0.751 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=36): time 1.904e-06/0.5335, allocations: 0 / 0.751 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.002117/0.5356, allocations: 1.322 MB / 0.7523 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.5356, allocations: 67.33 kB / 0.7524 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.5368, allocations: 0.9842 MB / 0.7534 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.5368, allocations: 45.64 kB / 0.7534 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.5371, allocations: 499.2 kB / 0.7539 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.5372, allocations: 134 kB / 0.754 GB, free: 432 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.5373, allocations: 12 kB / 0.754 GB, free: 420 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.5374, allocations: 326 kB / 0.7543 GB, free: 88 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.5378, allocations: 237.2 kB / 0.7546 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.5383, allocations: 409.3 kB / 0.7549 GB, free: 15.39 MB / 0.5762 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.001559/0.5398, allocations: 0.7367 MB / 0.7557 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5399, allocations: 3.938 kB / 0.7557 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001147/0.541, allocations: 0.7653 MB / 0.7564 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.541, allocations: 8 kB / 0.7564 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.541, allocations: 4 kB / 0.7564 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5411, allocations: 8 kB / 0.7564 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.5416, allocations: 148 kB / 0.7566 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.5416, allocations: 12.8 kB / 0.7566 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007349/0.5423, allocations: 95.77 kB / 0.7567 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.5424, allocations: 24 kB / 0.7567 GB, free: 13.56 MB / 0.5762 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.000335/0.5427, allocations: 309.6 kB / 0.757 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5429, allocations: 98.83 kB / 0.7571 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.543, allocations: 101 kB / 0.7572 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.543, allocations: 4 kB / 0.7572 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.543, allocations: 0.875 kB / 0.7572 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005704/0.5436, allocations: 0.6791 MB / 0.7579 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.5456, allocations: 1.58 MB / 0.7594 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.5456, allocations: 4 kB / 0.7594 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.5459, allocations: 88.39 kB / 0.7595 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.546, allocations: 11.94 kB / 0.7595 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.546, allocations: 12.69 kB / 0.7595 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.546, allocations: 15.94 kB / 0.7595 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.546, allocations: 4 kB / 0.7595 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000852/0.5469, allocations: 0.8173 MB / 0.7603 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.5472, allocations: 235.9 kB / 0.7605 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.5473, allocations: 19.98 kB / 0.7606 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/0.5479, allocations: 56.3 kB / 0.7606 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.5479, allocations: 51.78 kB / 0.7607 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.548, allocations: 27.98 kB / 0.7607 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008475/0.5489, allocations: 0.6996 MB / 0.7614 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5489, allocations: 0 / 0.7614 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006892/0.5496, allocations: 256 kB / 0.7616 GB, free: 8.223 MB / 0.5762 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 (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.001333/0.5509, allocations: 1.479 MB / 0.7631 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007654/0.5517, allocations: 499.9 kB / 0.7635 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5517, allocations: 0.8125 kB / 0.7635 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.5519, allocations: 193.7 kB / 0.7637 GB, free: 6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.5542, allocations: 0.5979 MB / 0.7643 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007502/0.5617, allocations: 5.849 MB / 0.77 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.5623, allocations: 1.095 MB / 0.7711 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008234/0.5631, allocations: 244.2 kB / 0.7713 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.5635, allocations: 347.3 kB / 0.7717 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.5635, allocations: 0 / 0.7717 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04032/0.6038, allocations: 27.14 MB / 0.7982 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.604, allocations: 255.8 kB / 0.7984 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.54, allocations: 2.812 kB / 0.7984 GB, free: 2.598 MB / 0.6075 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/linux/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) Environment - environmentSimulation: