Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.004165/0.004165, allocations: 100.9 kB / 15.87 MB, free: 6.312 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.001138/0.001138, allocations: 198.4 kB / 16.79 MB, free: 6.242 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.155/1.155, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.633/0.633, allocations: 115.3 MB / 405.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.2 kB / 493 MB, free: 6.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1334, allocations: 76.18 MB / 0.5558 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4452/0.5786, allocations: 188.2 MB / 0.7396 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008486/0.5871, allocations: 5.767 MB / 0.7453 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009939/0.5881, allocations: 35.75 kB / 0.7453 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.5896, allocations: 0.4896 MB / 0.7458 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003746/0.5933, allocations: 1.742 MB / 0.7475 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.596, allocations: 1.059 MB / 0.7485 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004069/0.6, allocations: 4.097 MB / 0.7525 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.6012, allocations: 0.9619 MB / 0.7534 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.6026, allocations: 0.8984 MB / 0.7543 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.6042, allocations: 1.005 MB / 0.7553 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.6044, allocations: 60 kB / 0.7554 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.6071, allocations: 1.64 MB / 0.757 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005072/0.6077, allocations: 0.522 MB / 0.7575 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006644/0.6083, allocations: 0.657 MB / 0.7581 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.6108, allocations: 2.364 MB / 0.7604 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6108, allocations: 0 / 0.7604 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6108, allocations: 0 / 0.7604 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.6108, allocations: 0 / 0.7604 GB, free: 5.164 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002409/0.6132, allocations: 1.617 MB / 0.762 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.6133, allocations: 15.97 kB / 0.762 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.6135, allocations: 156.2 kB / 0.7622 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.6154, allocations: 334.2 kB / 0.7625 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.6167, allocations: 0.8668 MB / 0.7633 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/0.6167, allocations: 74 kB / 0.7634 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.6169, allocations: 96 kB / 0.7635 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.6187, allocations: 1.093 MB / 0.7646 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.6187, allocations: 0 / 0.7646 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.994e-05/0.6188, allocations: 44 kB / 0.7646 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.542e-05/0.6189, allocations: 49.98 kB / 0.7647 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.6205, allocations: 0.9876 MB / 0.7656 GB, free: 15.73 MB / 0.5919 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.005679/0.6262, allocations: 4.241 MB / 0.7698 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/0.6271, allocations: 0.588 MB / 0.7703 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.6276, allocations: 346.5 kB / 0.7707 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.6278, allocations: 105.5 kB / 0.7708 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.6278, allocations: 42.94 kB / 0.7708 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.214e-06/0.6278, allocations: 0 / 0.7708 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003719/0.6316, allocations: 2.204 MB / 0.773 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.6316, allocations: 63.91 kB / 0.773 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009476/0.6326, allocations: 0.8765 MB / 0.7739 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.6326, allocations: 37.7 kB / 0.7739 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.633, allocations: 0.5184 MB / 0.7744 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.6331, allocations: 189.3 kB / 0.7746 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.6333, allocations: 134.5 kB / 0.7747 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6334, allocations: 334 kB / 0.775 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.6339, allocations: 285.8 kB / 0.7753 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.6345, allocations: 440.9 kB / 0.7757 GB, free: 4.832 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.00369/0.6382, allocations: 1.737 MB / 0.7774 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6382, allocations: 0 / 0.7774 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00136/0.6396, allocations: 0.9218 MB / 0.7783 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.6396, allocations: 8 kB / 0.7783 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6396, allocations: 4 kB / 0.7783 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.6398, allocations: 110.9 kB / 0.7785 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.6404, allocations: 159.8 kB / 0.7786 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.6435, allocations: 4.286 MB / 0.7828 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/0.6444, allocations: 67.86 kB / 0.7829 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.6445, allocations: 28 kB / 0.7829 GB, free: 13.03 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004559/0.6449, allocations: 348.2 kB / 0.7832 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.6451, allocations: 106.8 kB / 0.7833 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.6453, allocations: 109.2 kB / 0.7834 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.6453, allocations: 8 kB / 0.7834 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6453, allocations: 3.938 kB / 0.7834 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.6463, allocations: 0.7653 MB / 0.7842 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.6491, allocations: 1.991 MB / 0.7861 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6491, allocations: 4.406 kB / 0.7861 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006478/0.6498, allocations: 143.8 kB / 0.7863 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.275e-05/0.6499, allocations: 44.77 kB / 0.7863 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.6499, allocations: 16 kB / 0.7863 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.651, allocations: 1.491 MB / 0.7878 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.651, allocations: 7.984 kB / 0.7878 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.6526, allocations: 1.207 MB / 0.789 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.653, allocations: 259.8 kB / 0.7892 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.6531, allocations: 19.98 kB / 0.7892 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007483/0.6539, allocations: 65.42 kB / 0.7893 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.654, allocations: 51.81 kB / 0.7893 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.6541, allocations: 31.98 kB / 0.7894 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007021/0.6548, allocations: 0.6122 MB / 0.79 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6548, allocations: 0 / 0.79 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008442/0.6556, allocations: 300 kB / 0.7903 GB, free: 5.094 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00216/0.6578, allocations: 1.84 MB / 0.7921 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.6593, allocations: 1.003 MB / 0.793 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6593, allocations: 4 kB / 0.793 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006036/0.6599, allocations: 443.9 kB / 0.7935 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/0.6624, allocations: 0.6271 MB / 0.7941 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.6736, allocations: 8.665 MB / 0.8025 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/0.6744, allocations: 1.173 MB / 0.8037 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009795/0.6754, allocations: 256.4 kB / 0.8039 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.6758, allocations: 379.3 kB / 0.8043 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.6759, allocations: 0 / 0.8043 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2506/0.9264, allocations: 29.17 MB / 0.8328 GB, free: 231 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.9266, allocations: 301 kB / 0.8331 GB, free: 230.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.294, allocations: 0 / 0.8331 GB, free: 230.6 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)