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.005667/0.005667, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001129/0.001129, allocations: 201.9 kB / 16.68 MB, free: 5.926 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.8486/0.8486, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 68.91 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1475, allocations: 82.04 MB / 0.6752 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5478/0.6953, allocations: 190.6 MB / 0.8613 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008688/0.704, allocations: 5.716 MB / 0.8669 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.7055, allocations: 43.75 kB / 0.8669 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.7071, allocations: 0.5708 MB / 0.8675 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004427/0.7115, allocations: 1.832 MB / 0.8693 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.7143, allocations: 1.187 MB / 0.8704 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.718, allocations: 2.956 MB / 0.8733 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.7196, allocations: 1.126 MB / 0.8744 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.7216, allocations: 1.078 MB / 0.8754 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.7236, allocations: 0.965 MB / 0.8764 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.724, allocations: 124 kB / 0.8765 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.7268, allocations: 1.442 MB / 0.8779 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007104/0.7275, allocations: 0.5728 MB / 0.8785 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.7288, allocations: 0.7195 MB / 0.8792 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004096/0.7329, allocations: 2.423 MB / 0.8815 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7329, allocations: 0 / 0.8815 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7329, allocations: 0 / 0.8815 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.089e-05/0.733, allocations: 0 / 0.8815 GB, free: 10.54 MB / 0.6544 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.003725/0.7367, allocations: 1.62 MB / 0.8831 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.7368, allocations: 8.031 kB / 0.8831 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003895/0.7372, allocations: 160.2 kB / 0.8833 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.7395, allocations: 326.2 kB / 0.8836 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.7414, allocations: 0.9174 MB / 0.8845 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.7414, allocations: 74 kB / 0.8846 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.7416, allocations: 96 kB / 0.8847 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.7437, allocations: 1.085 MB / 0.8857 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.7437, allocations: 4 kB / 0.8857 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.7439, allocations: 44.86 kB / 0.8858 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.7439, allocations: 38 kB / 0.8858 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.7456, allocations: 0.9954 MB / 0.8868 GB, free: 5.07 MB / 0.6544 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.006647/0.7523, allocations: 4.221 MB / 0.8909 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.7533, allocations: 0.5957 MB / 0.8915 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/0.7538, allocations: 343.3 kB / 0.8918 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.7541, allocations: 105.5 kB / 0.8919 GB, free: 15.49 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.7541, allocations: 43 kB / 0.8919 GB, free: 15.44 MB / 0.67 GB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.7541, allocations: 0 / 0.8919 GB, free: 15.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=55): time 0.004173/0.7583, allocations: 2.201 MB / 0.8941 GB, free: 13.12 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.7583, allocations: 59.91 kB / 0.8942 GB, free: 13.05 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.7595, allocations: 0.8882 MB / 0.895 GB, free: 12.15 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.7595, allocations: 37.7 kB / 0.8951 GB, free: 12.11 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.7599, allocations: 0.5184 MB / 0.8956 GB, free: 11.58 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.7601, allocations: 201.1 kB / 0.8958 GB, free: 11.38 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.7603, allocations: 126.6 kB / 0.8959 GB, free: 11.25 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7604, allocations: 334 kB / 0.8962 GB, free: 10.92 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.7609, allocations: 285.8 kB / 0.8965 GB, free: 10.64 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.7615, allocations: 436.9 kB / 0.8969 GB, free: 10.16 MB / 0.67 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.003806/0.7653, allocations: 1.746 MB / 0.8986 GB, free: 8.352 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7653, allocations: 0 / 0.8986 GB, free: 8.352 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001489/0.7668, allocations: 0.9271 MB / 0.8995 GB, free: 7.41 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.7668, allocations: 8 kB / 0.8995 GB, free: 7.402 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.7668, allocations: 7.984 kB / 0.8995 GB, free: 7.395 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.7671, allocations: 98.39 kB / 0.8996 GB, free: 7.289 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/0.7678, allocations: 163.9 kB / 0.8998 GB, free: 7.129 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/0.7713, allocations: 4.63 MB / 0.9043 GB, free: 2.082 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.7722, allocations: 28.05 kB / 0.9043 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/0.7723, allocations: 28 kB / 0.9043 GB, free: 2.027 MB / 0.67 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.0004922/0.7728, allocations: 345.5 kB / 0.9047 GB, free: 1.68 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.773, allocations: 106.7 kB / 0.9048 GB, free: 1.574 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.7732, allocations: 109.2 kB / 0.9049 GB, free: 1.465 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.7732, allocations: 4 kB / 0.9049 GB, free: 1.461 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7732, allocations: 4 kB / 0.9049 GB, free: 1.457 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/0.7743, allocations: 0.7691 MB / 0.9056 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.7776, allocations: 1.992 MB / 0.9076 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7776, allocations: 0 / 0.9076 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.7782, allocations: 143.8 kB / 0.9077 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.7784, allocations: 40.83 kB / 0.9077 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.7784, allocations: 19.98 kB / 0.9078 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.7796, allocations: 1.606 MB / 0.9093 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7796, allocations: 4.031 kB / 0.9093 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.7813, allocations: 1.212 MB / 0.9105 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.7818, allocations: 255.9 kB / 0.9108 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.7819, allocations: 19.98 kB / 0.9108 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.7827, allocations: 33.34 kB / 0.9108 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.7828, allocations: 47.83 kB / 0.9109 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7e-05/0.7828, allocations: 31.97 kB / 0.9109 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008167/0.7837, allocations: 0.6161 MB / 0.9115 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7837, allocations: 0 / 0.9115 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008912/0.7846, allocations: 304 kB / 0.9118 GB, free: 10.01 MB / 0.6856 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.002411/0.787, allocations: 1.844 MB / 0.9136 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.7886, allocations: 1.007 MB / 0.9146 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.7886, allocations: 0 / 0.9146 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.7892, allocations: 450.2 kB / 0.915 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.7921, allocations: 0.6532 MB / 0.9156 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.804, allocations: 7.932 MB / 0.9234 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008773/0.8049, allocations: 1.17 MB / 0.9245 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008833/0.8058, allocations: 256.4 kB / 0.9248 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/0.8063, allocations: 379.3 kB / 0.9251 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of SimCode: time 6.11e-07/0.8063, allocations: 0 / 0.9251 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06224/0.8686, allocations: 31.02 MB / 0.9554 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.22, allocations: 448 / 0.9554 GB, free: 13.41 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)