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.0007136/0.0007137, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004045/0.004045, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.9179/0.9179, allocations: 143.2 MB / 434.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 8 kB / 0.5165 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 83.41 MB / 0.598 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.3974/0.5326, allocations: 185.8 MB / 0.7794 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007867/0.5406, allocations: 5.715 MB / 0.785 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007741/0.5414, allocations: 35.75 kB / 0.785 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.5425, allocations: 0.4896 MB / 0.7855 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.546, allocations: 1.727 MB / 0.7872 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.5482, allocations: 1.079 MB / 0.7883 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003504/0.5518, allocations: 4.092 MB / 0.7923 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5528, allocations: 0.9216 MB / 0.7932 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.554, allocations: 0.8672 MB / 0.794 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.5555, allocations: 0.9442 MB / 0.7949 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.5557, allocations: 51.94 kB / 0.795 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.5581, allocations: 1.629 MB / 0.7966 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004256/0.5586, allocations: 0.4947 MB / 0.797 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005596/0.5591, allocations: 0.6431 MB / 0.7977 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.5613, allocations: 2.399 MB / 0.8 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5613, allocations: 0 / 0.8 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5613, allocations: 3.938 kB / 0.8 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.5613, allocations: 0 / 0.8 GB, free: 12.8 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.001917/0.5633, allocations: 1.375 MB / 0.8014 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.5633, allocations: 8.031 kB / 0.8014 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.5635, allocations: 160.2 kB / 0.8015 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.5653, allocations: 330.2 kB / 0.8018 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.5664, allocations: 0.8668 MB / 0.8027 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.5665, allocations: 70 kB / 0.8027 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.5666, allocations: 104 kB / 0.8028 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.5683, allocations: 1.108 MB / 0.8039 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.5683, allocations: 0 / 0.8039 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.5684, allocations: 47.94 kB / 0.804 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.5684, allocations: 38 kB / 0.804 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.57, allocations: 1.003 MB / 0.805 GB, free: 7.598 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.005055/0.575, allocations: 4.248 MB / 0.8091 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/0.5758, allocations: 0.6129 MB / 0.8097 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/0.5763, allocations: 350.5 kB / 0.8101 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.5765, allocations: 105.5 kB / 0.8102 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.5765, allocations: 50.84 kB / 0.8102 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 1.784e-06/0.5765, allocations: 4 kB / 0.8102 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.003582/0.5801, allocations: 2.22 MB / 0.8124 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.5802, allocations: 59.91 kB / 0.8125 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009291/0.5811, allocations: 0.8843 MB / 0.8133 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.5812, allocations: 41.7 kB / 0.8134 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.5815, allocations: 0.5107 MB / 0.8139 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.5817, allocations: 201.1 kB / 0.814 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/0.5817, allocations: 57.69 kB / 0.8141 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.5818, allocations: 334 kB / 0.8144 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.5823, allocations: 289.8 kB / 0.8147 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.5829, allocations: 444.9 kB / 0.8151 GB, free: 12.68 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.003626/0.5865, allocations: 1.78 MB / 0.8169 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5865, allocations: 3.938 kB / 0.8169 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001342/0.5878, allocations: 0.9297 MB / 0.8178 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5879, allocations: 8 kB / 0.8178 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5879, allocations: 4.406 kB / 0.8178 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.5881, allocations: 98.45 kB / 0.8179 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.5888, allocations: 175.8 kB / 0.818 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/0.5916, allocations: 4.291 MB / 0.8222 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/0.5925, allocations: 71.8 kB / 0.8223 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.5925, allocations: 28 kB / 0.8223 GB, free: 4.801 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 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 (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.0004514/0.593, allocations: 343.4 kB / 0.8227 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.5931, allocations: 98.81 kB / 0.8227 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.5933, allocations: 117.2 kB / 0.8229 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.5934, allocations: 11.98 kB / 0.8229 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5934, allocations: 7.875 kB / 0.8229 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009819/0.5943, allocations: 0.7692 MB / 0.8236 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.5971, allocations: 2 MB / 0.8256 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5971, allocations: 4 kB / 0.8256 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.5977, allocations: 151.8 kB / 0.8257 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.224e-05/0.5978, allocations: 48.92 kB / 0.8258 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.5979, allocations: 19.98 kB / 0.8258 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.5989, allocations: 1.476 MB / 0.8272 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.5989, allocations: 4 kB / 0.8272 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.6004, allocations: 1.234 MB / 0.8284 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.6008, allocations: 255.9 kB / 0.8287 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.6009, allocations: 19.98 kB / 0.8287 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.6017, allocations: 74.05 kB / 0.8288 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.6018, allocations: 51.81 kB / 0.8288 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.6018, allocations: 31.98 kB / 0.8289 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006742/0.6025, allocations: 0.6122 MB / 0.8295 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6025, allocations: 0 / 0.8295 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008188/0.6033, allocations: 300 kB / 0.8297 GB, free: 12.83 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.002071/0.6054, allocations: 1.864 MB / 0.8316 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.6067, allocations: 1.006 MB / 0.8326 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6067, allocations: 3.906 kB / 0.8326 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.6073, allocations: 452.1 kB / 0.833 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/0.6103, allocations: 0.6308 MB / 0.8336 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.624, allocations: 8.786 MB / 0.8422 GB, free: 15.61 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.6252, allocations: 1.17 MB / 0.8433 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001416/0.6267, allocations: 245.8 kB / 0.8436 GB, free: 14.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007043/0.6274, allocations: 387.3 kB / 0.8439 GB, free: 13.79 MB / 0.67 GB Notification: Performance of SimCode: time 7.52e-07/0.6274, allocations: 4 kB / 0.8439 GB, free: 13.78 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.607/3.234, allocations: 28.94 MB / 0.8722 GB, free: 199.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/3.235, allocations: 323.1 kB / 0.8725 GB, free: 199.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/6.009, allocations: 0 / 0.8725 GB, free: 199.1 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)