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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.006998/0.006998, allocations: 97.06 kB / 15.73 MB, free: 6.055 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.001777/0.001777, allocations: 195.3 kB / 16.68 MB, free: 5.977 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.003/1.003, allocations: 143.3 MB / 433.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 63.91 kB / 0.5953 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4497, allocations: 82.02 MB / 0.6754 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2206/0.6704, allocations: 190.6 MB / 0.8615 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009784/0.6802, allocations: 5.726 MB / 0.8671 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.6815, allocations: 39.81 kB / 0.8672 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.6832, allocations: 0.5708 MB / 0.8677 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.3943/1.078, allocations: 1.825 MB / 0.8695 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/1.081, allocations: 1.182 MB / 0.8707 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00475/1.085, allocations: 2.951 MB / 0.8735 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/1.087, allocations: 1.131 MB / 0.8746 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/1.09, allocations: 1.047 MB / 0.8757 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/1.092, allocations: 0.967 MB / 0.8766 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002839/1.092, allocations: 124 kB / 0.8767 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/1.096, allocations: 1.445 MB / 0.8781 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000771/1.097, allocations: 0.5709 MB / 0.8787 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/1.098, allocations: 0.7199 MB / 0.8794 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003496/1.101, allocations: 2.428 MB / 0.8818 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.101, allocations: 1.375 kB / 0.8818 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/1.101, allocations: 0 / 0.8818 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.165e-05/1.101, allocations: 0.8125 kB / 0.8818 GB, free: 2.273 MB / 0.6856 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.002746/1.104, allocations: 1.661 MB / 0.8834 GB, free: 17.42 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.104, allocations: 10 kB / 0.8834 GB, free: 17.42 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/1.104, allocations: 156.5 kB / 0.8836 GB, free: 17.38 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/1.106, allocations: 337.7 kB / 0.8839 GB, free: 17.31 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/1.108, allocations: 0.9197 MB / 0.8848 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/1.108, allocations: 74.53 kB / 0.8848 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/1.108, allocations: 99.22 kB / 0.8849 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/1.11, allocations: 1.08 MB / 0.886 GB, free: 16.92 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/1.11, allocations: 4.797 kB / 0.886 GB, free: 16.92 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/1.11, allocations: 41.53 kB / 0.886 GB, free: 16.92 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/1.11, allocations: 44.42 kB / 0.8861 GB, free: 16.91 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/1.111, allocations: 0.9952 MB / 0.8871 GB, free: 16.9 MB / 0.7012 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.00535/1.117, allocations: 4.233 MB / 0.8912 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/1.117, allocations: 0.5941 MB / 0.8918 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/1.118, allocations: 350.8 kB / 0.8921 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/1.118, allocations: 104.7 kB / 0.8922 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/1.118, allocations: 44.25 kB / 0.8922 GB, free: 15 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 1.894e-06/1.118, allocations: 1.094 kB / 0.8922 GB, free: 15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55): time 0.00362/1.122, allocations: 2.218 MB / 0.8944 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/1.122, allocations: 57.53 kB / 0.8945 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/1.123, allocations: 0.884 MB / 0.8953 GB, free: 14 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/1.123, allocations: 35.83 kB / 0.8954 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/1.123, allocations: 0.5287 MB / 0.8959 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/1.123, allocations: 208.3 kB / 0.8961 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/1.123, allocations: 133 kB / 0.8962 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.124, allocations: 335.5 kB / 0.8965 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/1.124, allocations: 284.8 kB / 0.8968 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/1.124, allocations: 445 kB / 0.8972 GB, free: 13.12 MB / 0.7012 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.00341/1.128, allocations: 1.738 MB / 0.8989 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.128, allocations: 0.8438 kB / 0.8989 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001365/1.129, allocations: 0.9311 MB / 0.8998 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.129, allocations: 12.59 kB / 0.8998 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.129, allocations: 3.281 kB / 0.8998 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/1.129, allocations: 95.33 kB / 0.8999 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/1.13, allocations: 165.5 kB / 0.9001 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/1.134, allocations: 4.629 MB / 0.9046 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009298/1.135, allocations: 30.64 kB / 0.9046 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/1.135, allocations: 35.89 kB / 0.9047 GB, free: 8.691 MB / 0.7012 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.0005709/1.135, allocations: 343.6 kB / 0.905 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/1.136, allocations: 106.5 kB / 0.9051 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/1.136, allocations: 116.3 kB / 0.9052 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/1.136, allocations: 5.5 kB / 0.9052 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.136, allocations: 0 / 0.9052 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009982/1.137, allocations: 0.7738 MB / 0.906 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/1.14, allocations: 1.989 MB / 0.9079 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.14, allocations: 4.312 kB / 0.9079 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/1.14, allocations: 149 kB / 0.9081 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.993e-05/1.14, allocations: 39.19 kB / 0.9081 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/1.14, allocations: 18.62 kB / 0.9081 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/1.142, allocations: 1.602 MB / 0.9097 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.142, allocations: 5.062 kB / 0.9097 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/1.143, allocations: 1.205 MB / 0.9109 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/1.144, allocations: 264.6 kB / 0.9111 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/1.144, allocations: 21.72 kB / 0.9111 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006803/1.145, allocations: 29.22 kB / 0.9112 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.145, allocations: 56.95 kB / 0.9112 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/1.145, allocations: 32.61 kB / 0.9113 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000726/1.146, allocations: 0.6141 MB / 0.9119 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.146, allocations: 0 / 0.9119 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009116/1.146, allocations: 301.5 kB / 0.9121 GB, free: 5.879 MB / 0.7012 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.002108/1.149, allocations: 1.847 MB / 0.9139 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001354/1.15, allocations: 1.016 MB / 0.9149 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.15, allocations: 2.094 kB / 0.9149 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005305/1.151, allocations: 447.4 kB / 0.9154 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.153, allocations: 0.6521 MB / 0.916 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.166, allocations: 7.957 MB / 0.9238 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009912/1.167, allocations: 1.172 MB / 0.9249 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009365/1.168, allocations: 249.5 kB / 0.9252 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/1.168, allocations: 387.7 kB / 0.9255 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/1.168, allocations: 0 / 0.9255 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6624/1.831, allocations: 30.56 MB / 0.9554 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/16.65, allocations: 9.156 kB / 0.9554 GB, free: 15.12 MB / 0.7325 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)