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.000728/0.000728, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007189/0.0007189, allocations: 173 kB / 16.58 MB, free: 6.457 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.195/1.195, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6106/0.6106, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 8 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 77.1 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3795/0.4983, allocations: 173.3 MB / 0.7261 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00704/0.5054, allocations: 5.379 MB / 0.7314 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008508/0.5063, allocations: 31.81 kB / 0.7314 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009862/0.5073, allocations: 401.5 kB / 0.7318 GB, free: 7.699 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.002853/0.5101, allocations: 1.372 MB / 0.7331 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.5121, allocations: 0.8415 MB / 0.7339 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003148/0.5153, allocations: 3.439 MB / 0.7373 GB, free: 2.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5163, allocations: 0.8139 MB / 0.7381 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.5177, allocations: 0.8829 MB / 0.739 GB, free: 340 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.5189, allocations: 0.9029 MB / 0.7398 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.5191, allocations: 48 kB / 0.7399 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.5207, allocations: 0.7093 MB / 0.7406 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.5211, allocations: 494.6 kB / 0.741 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.5215, allocations: 281.1 kB / 0.7413 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.523, allocations: 1.633 MB / 0.7429 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.523, allocations: 0 / 0.7429 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.523, allocations: 0 / 0.7429 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.619e-05/0.523, allocations: 8 kB / 0.7429 GB, free: 12.26 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002028/0.5251, allocations: 1.374 MB / 0.7443 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.5251, allocations: 12.03 kB / 0.7443 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/0.5253, allocations: 164.1 kB / 0.7444 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.5271, allocations: 330.2 kB / 0.7447 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.5282, allocations: 0.8363 MB / 0.7456 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.5283, allocations: 77.95 kB / 0.7456 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.5284, allocations: 103.9 kB / 0.7457 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.5301, allocations: 1.089 MB / 0.7468 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5301, allocations: 0 / 0.7468 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/0.5302, allocations: 36 kB / 0.7468 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.5302, allocations: 45.98 kB / 0.7469 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.5317, allocations: 0.9955 MB / 0.7478 GB, free: 7.102 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.005064/0.5368, allocations: 4.249 MB / 0.752 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.5376, allocations: 0.5957 MB / 0.7526 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.5381, allocations: 346.5 kB / 0.7529 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.5382, allocations: 105.5 kB / 0.753 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.5383, allocations: 54.89 kB / 0.7531 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 1.743e-06/0.5383, allocations: 0 / 0.7531 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55): time 0.003588/0.5419, allocations: 2.22 MB / 0.7552 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.5419, allocations: 59.97 kB / 0.7553 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/0.5429, allocations: 0.8687 MB / 0.7561 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.5429, allocations: 37.7 kB / 0.7562 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.5432, allocations: 0.5146 MB / 0.7567 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.5434, allocations: 197.1 kB / 0.7569 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.5434, allocations: 12 kB / 0.7569 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.5435, allocations: 334 kB / 0.7572 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.544, allocations: 293.8 kB / 0.7575 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.5445, allocations: 436.9 kB / 0.7579 GB, free: 12.29 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.002519/0.547, allocations: 1.107 MB / 0.759 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.547, allocations: 4 kB / 0.759 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001342/0.5484, allocations: 0.9337 MB / 0.7599 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5484, allocations: 4 kB / 0.7599 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5484, allocations: 8 kB / 0.7599 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.5486, allocations: 102.7 kB / 0.76 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.5493, allocations: 167.8 kB / 0.7602 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.5521, allocations: 4.293 MB / 0.7643 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.5529, allocations: 72.05 kB / 0.7644 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.5529, allocations: 24 kB / 0.7644 GB, free: 5.145 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004502/0.5534, allocations: 348.6 kB / 0.7648 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.5535, allocations: 102.8 kB / 0.7649 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.5537, allocations: 117.1 kB / 0.765 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5537, allocations: 4 kB / 0.765 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5538, allocations: 4 kB / 0.765 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009461/0.5547, allocations: 0.777 MB / 0.7657 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.5574, allocations: 2 MB / 0.7677 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5574, allocations: 8.031 kB / 0.7677 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.558, allocations: 151.8 kB / 0.7679 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.708e-05/0.5581, allocations: 44.77 kB / 0.7679 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.5582, allocations: 16 kB / 0.7679 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009464/0.5591, allocations: 1.484 MB / 0.7694 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5591, allocations: 4 kB / 0.7694 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.5606, allocations: 1.222 MB / 0.7706 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.561, allocations: 251.9 kB / 0.7708 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.5611, allocations: 15.98 kB / 0.7708 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.5618, allocations: 72.5 kB / 0.7709 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.5619, allocations: 51.83 kB / 0.7709 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/0.5619, allocations: 31.98 kB / 0.771 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006479/0.5626, allocations: 0.6044 MB / 0.7716 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5626, allocations: 0 / 0.7716 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007917/0.5634, allocations: 304 kB / 0.7718 GB, free: 13.18 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00194/0.5653, allocations: 1.857 MB / 0.7737 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.5666, allocations: 1.004 MB / 0.7746 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.5666, allocations: 4 kB / 0.7746 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005336/0.5672, allocations: 451.4 kB / 0.7751 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.5694, allocations: 0.6288 MB / 0.7757 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008051/0.5775, allocations: 6.263 MB / 0.7818 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.5782, allocations: 1.174 MB / 0.7829 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008251/0.579, allocations: 252.4 kB / 0.7832 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.5794, allocations: 383.3 kB / 0.7836 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.5795, allocations: 0 / 0.7836 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04425/0.6237, allocations: 29.89 MB / 0.8127 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.6239, allocations: 286.2 kB / 0.813 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.65, allocations: 4.062 kB / 0.813 GB, free: 3.066 MB / 0.6231 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/linux/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) Environment - environmentSimulation: