Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001267/0.001267, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001275/0.001275, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.25/1.25, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.9205/0.9205, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.89 kB / 0.5138 GB, free: 11.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1345, allocations: 82.04 MB / 0.5939 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4099/0.5445, allocations: 184.9 MB / 0.7745 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.5589, allocations: 12.99 MB / 0.7871 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000939/0.5599, allocations: 31.81 kB / 0.7872 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.5611, allocations: 362 kB / 0.7875 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.5635, allocations: 1.078 MB / 0.7886 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.5651, allocations: 0.6411 MB / 0.7892 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00206/0.5671, allocations: 2.02 MB / 0.7912 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/0.5681, allocations: 0.8099 MB / 0.792 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/0.5715, allocations: 1.767 MB / 0.7937 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.5729, allocations: 0.7037 MB / 0.7944 GB, free: 232 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.5731, allocations: 80 kB / 0.7944 GB, free: 152 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.5746, allocations: 0.9158 MB / 0.7953 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.575, allocations: 382.9 kB / 0.7957 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005444/0.5756, allocations: 0.5054 MB / 0.7962 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.5774, allocations: 1.585 MB / 0.7977 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5774, allocations: 0 / 0.7977 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.356e-06/0.5774, allocations: 4 kB / 0.7977 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.5774, allocations: 0 / 0.7977 GB, free: 12.75 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001686/0.5791, allocations: 1.234 MB / 0.799 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5792, allocations: 8.625 kB / 0.799 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.5793, allocations: 124.7 kB / 0.7991 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.5805, allocations: 218.6 kB / 0.7993 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.5816, allocations: 0.6441 MB / 0.7999 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.5816, allocations: 58 kB / 0.8 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.5818, allocations: 76 kB / 0.8 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.5832, allocations: 0.9249 MB / 0.8009 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.5832, allocations: 11.92 kB / 0.801 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/0.5833, allocations: 35.94 kB / 0.801 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.5833, allocations: 29.31 kB / 0.801 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009405/0.5843, allocations: 0.6177 MB / 0.8016 GB, free: 8.602 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.004342/0.5886, allocations: 4.593 MB / 0.8061 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007915/0.5894, allocations: 0.5512 MB / 0.8066 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.5898, allocations: 247.3 kB / 0.8069 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.59, allocations: 101.1 kB / 0.807 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.59, allocations: 46.48 kB / 0.807 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.59, allocations: 0 / 0.807 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002673/0.5927, allocations: 1.581 MB / 0.8086 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.5928, allocations: 111.1 kB / 0.8087 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.5936, allocations: 0.7155 MB / 0.8094 GB, free: 212 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.5936, allocations: 37.7 kB / 0.8094 GB, free: 168 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.5939, allocations: 423.7 kB / 0.8098 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.5941, allocations: 153.8 kB / 0.81 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.5942, allocations: 126.1 kB / 0.8101 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5944, allocations: 326 kB / 0.8104 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.5947, allocations: 185.2 kB / 0.8106 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.5952, allocations: 421 kB / 0.811 GB, free: 14.45 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.5974, allocations: 1.173 MB / 0.8121 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.5974, allocations: 7.812 kB / 0.8121 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009491/0.5984, allocations: 0.6639 MB / 0.8128 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5984, allocations: 8.719 kB / 0.8128 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5984, allocations: 8 kB / 0.8128 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.5984, allocations: 15.98 kB / 0.8128 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.5989, allocations: 127.8 kB / 0.8129 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.5989, allocations: 19.86 kB / 0.8129 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.5995, allocations: 59.81 kB / 0.813 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.5996, allocations: 31.94 kB / 0.813 GB, free: 12.24 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003746/0.6, allocations: 269.6 kB / 0.8133 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.6001, allocations: 83 kB / 0.8134 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.6003, allocations: 91.66 kB / 0.8135 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.6003, allocations: 4 kB / 0.8135 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6003, allocations: 4 kB / 0.8135 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006775/0.601, allocations: 0.6998 MB / 0.8141 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.6032, allocations: 1.642 MB / 0.8157 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6033, allocations: 4 kB / 0.8158 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.6037, allocations: 96.39 kB / 0.8158 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.6037, allocations: 15.92 kB / 0.8159 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.6038, allocations: 16 kB / 0.8159 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.6038, allocations: 7.938 kB / 0.8159 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6038, allocations: 4 kB / 0.8159 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.6048, allocations: 0.8694 MB / 0.8167 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.6051, allocations: 212 kB / 0.8169 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.996e-05/0.6052, allocations: 16 kB / 0.817 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.6057, allocations: 35.88 kB / 0.817 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.6058, allocations: 39.83 kB / 0.817 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.6058, allocations: 20 kB / 0.817 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005915/0.6064, allocations: 0.5146 MB / 0.8175 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.6064, allocations: 0 / 0.8175 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006874/0.6071, allocations: 204 kB / 0.8177 GB, free: 7.129 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001611/0.6088, allocations: 1.501 MB / 0.8192 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008562/0.6096, allocations: 0.5044 MB / 0.8197 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6096, allocations: 1.562 kB / 0.8197 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.6099, allocations: 216.5 kB / 0.8199 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.6119, allocations: 479.1 kB / 0.8204 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008966/0.6209, allocations: 7.194 MB / 0.8274 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.6215, allocations: 1.036 MB / 0.8284 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007612/0.6223, allocations: 199 kB / 0.8286 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.6227, allocations: 299.3 kB / 0.8289 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.6227, allocations: 0 / 0.8289 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.071/0.6937, allocations: 21.91 MB / 0.8503 GB, free: 5.859 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/0.6941, allocations: 288.4 kB / 0.8505 GB, free: 5.48 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.87, allocations: 5.922 kB / 0.8506 GB, free: 5.48 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)