Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_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.001119/0.001119, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001132/0.001132, allocations: 194.7 kB / 16.14 MB, free: 6.574 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8779/0.8779, allocations: 143 MB / 433 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 63.91 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1291, allocations: 82.04 MB / 0.5937 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.367/0.4962, allocations: 188.3 MB / 0.7776 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007456/0.5037, allocations: 5.771 MB / 0.7832 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006296/0.5043, allocations: 35.75 kB / 0.7833 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.5055, allocations: 0.4935 MB / 0.7837 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003188/0.5087, allocations: 1.724 MB / 0.7854 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.5108, allocations: 1.072 MB / 0.7865 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003193/0.514, allocations: 4.087 MB / 0.7905 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000966/0.5149, allocations: 0.9719 MB / 0.7914 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.5161, allocations: 0.8946 MB / 0.7923 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.5175, allocations: 1.001 MB / 0.7933 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.5177, allocations: 60 kB / 0.7933 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.5202, allocations: 1.644 MB / 0.7949 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004343/0.5206, allocations: 0.5142 MB / 0.7954 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.5212, allocations: 0.657 MB / 0.7961 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.5235, allocations: 2.434 MB / 0.7985 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.5235, allocations: 0 / 0.7985 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5235, allocations: 4 kB / 0.7985 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.5235, allocations: 4 kB / 0.7985 GB, free: 11.97 MB / 0.6231 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.002182/0.5257, allocations: 1.624 MB / 0.8 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5257, allocations: 8.031 kB / 0.8001 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.5259, allocations: 160.2 kB / 0.8002 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.5278, allocations: 330.2 kB / 0.8005 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.5289, allocations: 0.8668 MB / 0.8014 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.529, allocations: 78 kB / 0.8014 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.5291, allocations: 100 kB / 0.8015 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.5308, allocations: 1.089 MB / 0.8026 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5308, allocations: 0 / 0.8026 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.519e-05/0.5309, allocations: 47.98 kB / 0.8026 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.531, allocations: 34 kB / 0.8027 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.5325, allocations: 0.9993 MB / 0.8037 GB, free: 6.539 MB / 0.6231 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.005165/0.5377, allocations: 4.241 MB / 0.8078 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.5385, allocations: 0.5958 MB / 0.8084 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.539, allocations: 350.4 kB / 0.8087 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.5392, allocations: 97.53 kB / 0.8088 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.5392, allocations: 51 kB / 0.8089 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 1.683e-06/0.5392, allocations: 0 / 0.8089 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.003552/0.5428, allocations: 2.193 MB / 0.811 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.5428, allocations: 59.91 kB / 0.8111 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009184/0.5437, allocations: 0.8882 MB / 0.8119 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.5438, allocations: 37.7 kB / 0.812 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.5441, allocations: 0.5184 MB / 0.8125 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.5443, allocations: 197.2 kB / 0.8127 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.5445, allocations: 130.6 kB / 0.8128 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5446, allocations: 330 kB / 0.8131 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.545, allocations: 285.8 kB / 0.8134 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.5456, allocations: 442.1 kB / 0.8138 GB, free: 11.62 MB / 0.6387 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.003649/0.5492, allocations: 1.737 MB / 0.8155 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5493, allocations: 3.938 kB / 0.8155 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001327/0.5506, allocations: 0.9221 MB / 0.8164 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.5506, allocations: 8 kB / 0.8164 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5506, allocations: 11.92 kB / 0.8164 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.5508, allocations: 98.45 kB / 0.8165 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.5515, allocations: 163.9 kB / 0.8167 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/0.5544, allocations: 4.287 MB / 0.8208 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.5552, allocations: 67.89 kB / 0.8209 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.5553, allocations: 31.98 kB / 0.8209 GB, free: 3.805 MB / 0.6387 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.0004168/0.5557, allocations: 346.6 kB / 0.8213 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.5559, allocations: 106.7 kB / 0.8214 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.5561, allocations: 109.2 kB / 0.8215 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5561, allocations: 4 kB / 0.8215 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5561, allocations: 7.938 kB / 0.8215 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009735/0.5571, allocations: 0.7613 MB / 0.8222 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.5598, allocations: 1.988 MB / 0.8242 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5598, allocations: 4 kB / 0.8242 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/0.5604, allocations: 148.2 kB / 0.8243 GB, free: 180 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.452e-05/0.5605, allocations: 32.84 kB / 0.8243 GB, free: 144 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.5606, allocations: 19.98 kB / 0.8244 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.5616, allocations: 1.495 MB / 0.8258 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.5616, allocations: 7.938 kB / 0.8258 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.5631, allocations: 1.211 MB / 0.827 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.5635, allocations: 255.8 kB / 0.8273 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.5636, allocations: 12 kB / 0.8273 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007545/0.5644, allocations: 73.94 kB / 0.8273 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.5645, allocations: 47.83 kB / 0.8274 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/0.5645, allocations: 31.98 kB / 0.8274 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006617/0.5652, allocations: 0.6161 MB / 0.828 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5652, allocations: 0 / 0.828 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008337/0.566, allocations: 304 kB / 0.8283 GB, free: 11.88 MB / 0.6544 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.002049/0.5681, allocations: 1.85 MB / 0.8301 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.5694, allocations: 0.9982 MB / 0.8311 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5694, allocations: 4 kB / 0.8311 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.57, allocations: 447.8 kB / 0.8315 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.5727, allocations: 0.6382 MB / 0.8321 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.5834, allocations: 8.658 MB / 0.8406 GB, free: 14.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.5841, allocations: 1.173 MB / 0.8417 GB, free: 13.61 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008896/0.585, allocations: 252.4 kB / 0.842 GB, free: 13.36 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.5855, allocations: 383.3 kB / 0.8424 GB, free: 12.98 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/0.5855, allocations: 0 / 0.8424 GB, free: 12.98 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.925/1.51, allocations: 29.2 MB / 0.8709 GB, free: 203.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/1.511, allocations: 320 kB / 0.8712 GB, free: 203.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.879, allocations: 0 / 0.8712 GB, free: 203.3 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)