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.0009704/0.0009705, allocations: 108 kB / 15.6 MB, free: 132 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.0009793/0.0009794, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.895/0.895, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 60.09 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1371, allocations: 82.06 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4382/0.5753, allocations: 190.5 MB / 0.7805 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009045/0.5844, allocations: 5.712 MB / 0.7861 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.5858, allocations: 39.75 kB / 0.7861 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.5874, allocations: 0.5669 MB / 0.7867 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004115/0.5916, allocations: 1.839 MB / 0.7884 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.5943, allocations: 1.159 MB / 0.7896 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003547/0.5978, allocations: 2.957 MB / 0.7925 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.5997, allocations: 1.12 MB / 0.7936 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.6018, allocations: 1.051 MB / 0.7946 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.6042, allocations: 0.9673 MB / 0.7955 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004207/0.6046, allocations: 123.9 kB / 0.7956 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.608, allocations: 1.446 MB / 0.7971 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000872/0.6089, allocations: 0.5728 MB / 0.7976 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.6103, allocations: 0.7272 MB / 0.7983 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00375/0.6141, allocations: 2.392 MB / 0.8007 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6141, allocations: 0 / 0.8007 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6141, allocations: 4 kB / 0.8007 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.746e-05/0.6142, allocations: 0 / 0.8007 GB, free: 9.871 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.003321/0.6175, allocations: 1.624 MB / 0.8023 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6176, allocations: 12.03 kB / 0.8023 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002629/0.6178, allocations: 160.1 kB / 0.8024 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.62, allocations: 322.2 kB / 0.8027 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.6215, allocations: 0.8668 MB / 0.8036 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.6216, allocations: 81.92 kB / 0.8037 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.6217, allocations: 104 kB / 0.8038 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.6237, allocations: 1.085 MB / 0.8048 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.6237, allocations: 0 / 0.8048 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.6238, allocations: 44 kB / 0.8049 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.6239, allocations: 38 kB / 0.8049 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.6256, allocations: 0.9915 MB / 0.8059 GB, free: 4.449 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.006637/0.6323, allocations: 4.261 MB / 0.81 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/0.6332, allocations: 0.6029 MB / 0.8106 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.6338, allocations: 350.4 kB / 0.8109 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.634, allocations: 101.5 kB / 0.811 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.634, allocations: 47 kB / 0.8111 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.574e-06/0.634, allocations: 0 / 0.8111 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.00443/0.6385, allocations: 2.193 MB / 0.8132 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.6386, allocations: 59.91 kB / 0.8133 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.64, allocations: 0.8882 MB / 0.8141 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.6401, allocations: 41.64 kB / 0.8142 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005244/0.6406, allocations: 0.5224 MB / 0.8147 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.6408, allocations: 197.1 kB / 0.8149 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.641, allocations: 130.6 kB / 0.815 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6412, allocations: 334 kB / 0.8153 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.6417, allocations: 285.8 kB / 0.8156 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.6423, allocations: 429 kB / 0.816 GB, free: 9.5 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.003956/0.6463, allocations: 1.749 MB / 0.8177 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6463, allocations: 0 / 0.8177 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001573/0.6479, allocations: 0.9219 MB / 0.8186 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6479, allocations: 8 kB / 0.8186 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.6479, allocations: 4 kB / 0.8186 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.6481, allocations: 98.83 kB / 0.8187 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007717/0.6489, allocations: 172.9 kB / 0.8189 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/0.6531, allocations: 4.631 MB / 0.8234 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008948/0.654, allocations: 35.91 kB / 0.8234 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.654, allocations: 32.64 kB / 0.8235 GB, free: 1.348 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.0006416/0.6547, allocations: 348.3 kB / 0.8238 GB, free: 1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.6549, allocations: 102.8 kB / 0.8239 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.6552, allocations: 109.2 kB / 0.824 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.6552, allocations: 8 kB / 0.824 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6552, allocations: 3.984 kB / 0.824 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.6564, allocations: 0.7614 MB / 0.8248 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.6597, allocations: 1.984 MB / 0.8267 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.6598, allocations: 8.031 kB / 0.8267 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006946/0.6605, allocations: 143.8 kB / 0.8268 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/0.6606, allocations: 40.83 kB / 0.8269 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.6607, allocations: 16 kB / 0.8269 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.662, allocations: 1.61 MB / 0.8285 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.662, allocations: 8.078 kB / 0.8285 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.6638, allocations: 1.219 MB / 0.8297 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.6643, allocations: 255.9 kB / 0.8299 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.6644, allocations: 16 kB / 0.8299 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/0.6652, allocations: 33.77 kB / 0.83 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.6654, allocations: 43.89 kB / 0.83 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.6654, allocations: 31.92 kB / 0.83 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008092/0.6663, allocations: 0.6161 MB / 0.8306 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6663, allocations: 4 kB / 0.8306 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009593/0.6672, allocations: 308 kB / 0.8309 GB, free: 9.324 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.002434/0.6697, allocations: 1.849 MB / 0.8327 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.6714, allocations: 1.108 MB / 0.8338 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.6714, allocations: 4 kB / 0.8338 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006268/0.6721, allocations: 446.2 kB / 0.8343 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/0.675, allocations: 0.6492 MB / 0.8349 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.6863, allocations: 8.296 MB / 0.843 GB, free: 12.52 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000821/0.6872, allocations: 1.173 MB / 0.8441 GB, free: 11.32 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009052/0.6881, allocations: 260.4 kB / 0.8444 GB, free: 11.06 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/0.6886, allocations: 379.3 kB / 0.8447 GB, free: 10.69 MB / 0.67 GB Notification: Performance of SimCode: time 6.52e-07/0.6886, allocations: 0 / 0.8447 GB, free: 10.69 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3283/1.017, allocations: 30.27 MB / 0.8743 GB, free: 206.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.41, allocations: 9.219 kB / 0.8743 GB, free: 206.8 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)