Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.001394/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001637/0.001637, allocations: 190.6 kB / 16.13 MB, free: 6.66 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 283.1 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001652, allocations: 97.59 kB / 0.5946 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1372, allocations: 86.97 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4548/0.592, allocations: 218.8 MB / 0.8933 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00814/0.6002, allocations: 5.789 MB / 0.8989 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.6013, allocations: 38.72 kB / 0.8989 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.6026, allocations: 0.4972 MB / 0.8994 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.6066, allocations: 1.734 MB / 0.9011 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.6091, allocations: 1.075 MB / 0.9022 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003867/0.613, allocations: 4.111 MB / 0.9062 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.6141, allocations: 0.8732 MB / 0.907 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.6156, allocations: 0.914 MB / 0.9079 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.6177, allocations: 0.9709 MB / 0.9089 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.6178, allocations: 52 kB / 0.9089 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.6207, allocations: 1.644 MB / 0.9105 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.6211, allocations: 414.7 kB / 0.9109 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006456/0.6218, allocations: 0.5947 MB / 0.9115 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.6242, allocations: 2.162 MB / 0.9136 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6242, allocations: 0 / 0.9136 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6242, allocations: 0 / 0.9136 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.6242, allocations: 0 / 0.9136 GB, free: 8.141 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002239/0.6265, allocations: 1.5 MB / 0.9151 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.6265, allocations: 12.03 kB / 0.9151 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.6267, allocations: 143.3 kB / 0.9152 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.6287, allocations: 318.2 kB / 0.9155 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.6298, allocations: 0.8201 MB / 0.9163 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.6299, allocations: 62 kB / 0.9164 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.63, allocations: 91.89 kB / 0.9165 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.6315, allocations: 0.9131 MB / 0.9174 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.6315, allocations: 0 / 0.9174 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.711e-05/0.6316, allocations: 40 kB / 0.9174 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/0.6317, allocations: 41.92 kB / 0.9175 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.633, allocations: 0.8353 MB / 0.9183 GB, free: 3.266 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.004832/0.6379, allocations: 3.525 MB / 0.9217 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.6386, allocations: 497.1 kB / 0.9222 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.6391, allocations: 298.4 kB / 0.9225 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.6393, allocations: 97.53 kB / 0.9226 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.6393, allocations: 54.88 kB / 0.9226 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 1.924e-06/0.6393, allocations: 0 / 0.9226 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.00334/0.6426, allocations: 1.872 MB / 0.9244 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.6427, allocations: 55.84 kB / 0.9245 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008654/0.6436, allocations: 0.8097 MB / 0.9253 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.6436, allocations: 41.7 kB / 0.9253 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.6439, allocations: 475.2 kB / 0.9258 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.6441, allocations: 177.5 kB / 0.926 GB, free: 11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.6443, allocations: 114.2 kB / 0.9261 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.6444, allocations: 334 kB / 0.9264 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.6448, allocations: 245.2 kB / 0.9266 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/0.6453, allocations: 380.7 kB / 0.927 GB, free: 9.891 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.003556/0.6489, allocations: 1.545 MB / 0.9285 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6489, allocations: 0 / 0.9285 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001236/0.6501, allocations: 0.7962 MB / 0.9293 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6501, allocations: 8 kB / 0.9293 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6501, allocations: 0 / 0.9293 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.6503, allocations: 73.7 kB / 0.9293 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.651, allocations: 152.1 kB / 0.9295 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.6531, allocations: 2.888 MB / 0.9323 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/0.6539, allocations: 64.61 kB / 0.9324 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.654, allocations: 24 kB / 0.9324 GB, free: 4.008 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003756/0.6544, allocations: 302.4 kB / 0.9327 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.6545, allocations: 94.95 kB / 0.9328 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.6547, allocations: 100.7 kB / 0.9329 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6547, allocations: 7.938 kB / 0.9329 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.6547, allocations: 0 / 0.9329 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009722/0.6557, allocations: 0.8349 MB / 0.9337 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.6583, allocations: 1.799 MB / 0.9354 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6583, allocations: 4 kB / 0.9354 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.6589, allocations: 132.2 kB / 0.9356 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.648e-05/0.659, allocations: 44.83 kB / 0.9356 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.6591, allocations: 15.94 kB / 0.9356 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.6601, allocations: 1.476 MB / 0.9371 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6602, allocations: 4 kB / 0.9371 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.6616, allocations: 1.065 MB / 0.9381 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.662, allocations: 235.9 kB / 0.9383 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.6621, allocations: 19.98 kB / 0.9384 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007504/0.6629, allocations: 63.91 kB / 0.9384 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.663, allocations: 39.97 kB / 0.9385 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.663, allocations: 31.98 kB / 0.9385 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006542/0.6637, allocations: 0.5654 MB / 0.939 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6637, allocations: 0 / 0.939 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008461/0.6646, allocations: 280 kB / 0.9393 GB, free: 12.51 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * 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.001942/0.6665, allocations: 1.701 MB / 0.941 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.6677, allocations: 0.7932 MB / 0.9417 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6678, allocations: 4.188 kB / 0.9417 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.6683, allocations: 406.2 kB / 0.9421 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/0.6709, allocations: 0.5823 MB / 0.9427 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009476/0.6804, allocations: 7.636 MB / 0.9502 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.681, allocations: 1.095 MB / 0.9512 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008656/0.6819, allocations: 223.7 kB / 0.9514 GB, free: 15.62 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.6823, allocations: 339.3 kB / 0.9518 GB, free: 15.29 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.6823, allocations: 0 / 0.9518 GB, free: 15.29 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0446/0.7269, allocations: 26.15 MB / 0.9773 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.7271, allocations: 315.4 kB / 0.9776 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.035, allocations: 0 / 0.9776 GB, free: 5.273 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)