Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.0009025/0.0009025, allocations: 93.73 kB / 16.02 MB, free: 84 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.0009621/0.0009622, allocations: 183.8 kB / 16.92 MB, free: 6.887 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.323/1.323, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6587/0.6587, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 8 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4344/0.5657, allocations: 217.3 MB / 0.7723 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.58, allocations: 12.08 MB / 0.7841 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.5817, allocations: 67.56 kB / 0.7841 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.5834, allocations: 0.7147 MB / 0.7848 GB, free: 276 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005596/0.589, allocations: 2.688 MB / 0.7874 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.5917, allocations: 1.289 MB / 0.7887 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005562/0.5972, allocations: 6.089 MB / 0.7947 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.5988, allocations: 1.445 MB / 0.7961 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.6025, allocations: 2.145 MB / 0.7982 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/0.6062, allocations: 1.527 MB / 0.7997 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.6064, allocations: 83.94 kB / 0.7997 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.6103, allocations: 2.443 MB / 0.8021 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.6109, allocations: 0.5919 MB / 0.8027 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000911/0.6118, allocations: 0.9382 MB / 0.8036 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.6152, allocations: 3.279 MB / 0.8068 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6152, allocations: 0 / 0.8068 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6153, allocations: 4 kB / 0.8068 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.6153, allocations: 0 / 0.8068 GB, free: 9.676 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002845/0.6181, allocations: 1.902 MB / 0.8087 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.6182, allocations: 12.03 kB / 0.8087 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.6184, allocations: 206.8 kB / 0.8089 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.6212, allocations: 0.4972 MB / 0.8094 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.6229, allocations: 1.255 MB / 0.8106 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.416e-05/0.623, allocations: 110.8 kB / 0.8107 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.6232, allocations: 147.9 kB / 0.8108 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.6256, allocations: 1.76 MB / 0.8126 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.6256, allocations: 15.86 kB / 0.8126 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.6258, allocations: 60 kB / 0.8126 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/0.6258, allocations: 50.55 kB / 0.8127 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.6279, allocations: 1.403 MB / 0.8141 GB, free: 2.023 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.007373/0.6352, allocations: 7.316 MB / 0.8212 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.6367, allocations: 1.059 MB / 0.8222 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009163/0.6376, allocations: 0.6906 MB / 0.8229 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.6378, allocations: 114.1 kB / 0.823 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.6379, allocations: 51.5 kB / 0.8231 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009559/0.6388, allocations: 306.7 kB / 0.8234 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=106): time 2.645e-06/0.6388, allocations: 0 / 0.8234 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112): time 0.007374/0.6462, allocations: 4.42 MB / 0.8277 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.6463, allocations: 167.2 kB / 0.8278 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.6477, allocations: 1.274 MB / 0.8291 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/0.6478, allocations: 49.7 kB / 0.8291 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/0.6483, allocations: 0.6969 MB / 0.8298 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.6486, allocations: 402.2 kB / 0.8302 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.6487, allocations: 121.6 kB / 0.8303 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6488, allocations: 362 kB / 0.8306 GB, free: 416 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1998/0.8487, allocations: 0.5139 MB / 0.8312 GB, free: 231.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.8499, allocations: 0.8419 MB / 0.832 GB, free: 231.2 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.8608, allocations: 4.762 MB / 0.8366 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.8608, allocations: 2.75 kB / 0.8366 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002365/0.8632, allocations: 1.602 MB / 0.8382 GB, free: 229.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.8632, allocations: 8.562 kB / 0.8382 GB, free: 229.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.8633, allocations: 9.125 kB / 0.8382 GB, free: 229.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.8633, allocations: 17.77 kB / 0.8382 GB, free: 229.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.8644, allocations: 294.2 kB / 0.8385 GB, free: 229.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-05/0.8644, allocations: 17.72 kB / 0.8385 GB, free: 229.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.8659, allocations: 116.2 kB / 0.8386 GB, free: 229.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.866, allocations: 61.16 kB / 0.8387 GB, free: 229.8 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0006547/0.8666, allocations: 425 kB / 0.8391 GB, free: 229.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.867, allocations: 162.5 kB / 0.8393 GB, free: 229.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.869, allocations: 1.275 MB / 0.8405 GB, free: 229 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.869, allocations: 12.5 kB / 0.8405 GB, free: 229 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.869, allocations: 2.969 kB / 0.8405 GB, free: 229 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/0.8703, allocations: 1.233 MB / 0.8417 GB, free: 228.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005181/0.8755, allocations: 3.749 MB / 0.8454 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.8756, allocations: 10.78 kB / 0.8454 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.8766, allocations: 245.8 kB / 0.8456 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/0.8766, allocations: 15.03 kB / 0.8456 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.8767, allocations: 43.7 kB / 0.8457 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.487e-05/0.8767, allocations: 26.28 kB / 0.8457 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.8767, allocations: 14.34 kB / 0.8457 GB, free: 226.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.879, allocations: 2.102 MB / 0.8478 GB, free: 225.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000524/0.8795, allocations: 359.4 kB / 0.8481 GB, free: 225 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.8797, allocations: 36.03 kB / 0.8481 GB, free: 224.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.8808, allocations: 98.03 kB / 0.8482 GB, free: 224.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.881, allocations: 101.8 kB / 0.8483 GB, free: 224.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/0.8811, allocations: 54.8 kB / 0.8484 GB, free: 224.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001007/0.8821, allocations: 0.8504 MB / 0.8492 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8821, allocations: 0 / 0.8492 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00116/0.8832, allocations: 438.6 kB / 0.8496 GB, free: 224.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.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 (115): * Single equations (assignments): 115 * 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.002592/0.8858, allocations: 2.768 MB / 0.8523 GB, free: 222.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.8875, allocations: 1.212 MB / 0.8535 GB, free: 222.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.8875, allocations: 3.312 kB / 0.8535 GB, free: 222.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006497/0.8881, allocations: 0.5419 MB / 0.8541 GB, free: 222.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005381/0.8935, allocations: 0.8919 MB / 0.8549 GB, free: 222 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.9077, allocations: 14.39 MB / 0.869 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.9083, allocations: 1.376 MB / 0.8703 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001144/0.9095, allocations: 390.9 kB / 0.8707 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006521/0.9101, allocations: 0.6391 MB / 0.8713 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.9101, allocations: 0 / 0.8713 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.226/5.136, allocations: 40.88 MB / 0.9112 GB, free: 172 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/5.136, allocations: 277.4 kB / 0.9115 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.591/9.727, allocations: 4 kB / 0.9115 GB, free: 171.6 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)