Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.001011/0.001011, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009105/0.0009105, allocations: 192.3 kB / 16.25 MB, free: 6.617 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.275/1.275, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 291 kB / 290.4 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9364/0.9364, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 94.38 kB / 0.5948 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1385, allocations: 86.98 MB / 0.6797 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.4486/0.5872, allocations: 218.3 MB / 0.8929 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008412/0.5956, allocations: 5.689 MB / 0.8985 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007551/0.5964, allocations: 34.41 kB / 0.8985 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.5977, allocations: 0.5082 MB / 0.899 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.6009, allocations: 1.523 MB / 0.9005 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.6035, allocations: 1.118 MB / 0.9016 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002376/0.6059, allocations: 2.568 MB / 0.9041 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009153/0.6068, allocations: 0.8772 MB / 0.905 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.6082, allocations: 1.067 MB / 0.906 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.61, allocations: 0.8874 MB / 0.9069 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.6102, allocations: 96 kB / 0.907 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.6124, allocations: 1.605 MB / 0.9085 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003423/0.6128, allocations: 410.9 kB / 0.9089 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.6133, allocations: 0.591 MB / 0.9095 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.6153, allocations: 2.096 MB / 0.9115 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6153, allocations: 0 / 0.9115 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6153, allocations: 0 / 0.9115 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.6154, allocations: 0 / 0.9115 GB, free: 10.38 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002003/0.6174, allocations: 1.419 MB / 0.9129 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.6174, allocations: 8.031 kB / 0.9129 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.6176, allocations: 134.6 kB / 0.9131 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.6202, allocations: 422.2 kB / 0.9135 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.6214, allocations: 0.7609 MB / 0.9142 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.6217, allocations: 121.9 kB / 0.9143 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.6219, allocations: 83.92 kB / 0.9144 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.6236, allocations: 0.9945 MB / 0.9154 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.6237, allocations: 0 / 0.9154 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/0.6237, allocations: 32 kB / 0.9154 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.6238, allocations: 37.92 kB / 0.9154 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.6257, allocations: 0.8822 MB / 0.9163 GB, free: 5.379 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.006068/0.6317, allocations: 3.503 MB / 0.9197 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.6334, allocations: 0.6264 MB / 0.9203 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007611/0.6341, allocations: 345.2 kB / 0.9207 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.6343, allocations: 105 kB / 0.9208 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.6344, allocations: 38.56 kB / 0.9208 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.6344, allocations: 4 kB / 0.9208 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.004686/0.639, allocations: 1.92 MB / 0.9227 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.6391, allocations: 55.41 kB / 0.9227 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008294/0.6399, allocations: 0.7784 MB / 0.9235 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.64, allocations: 37.7 kB / 0.9235 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.6403, allocations: 459.4 kB / 0.924 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.6404, allocations: 142 kB / 0.9241 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.6406, allocations: 102.2 kB / 0.9242 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6407, allocations: 337.9 kB / 0.9245 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000767/0.6415, allocations: 316.9 kB / 0.9248 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008275/0.6423, allocations: 447.5 kB / 0.9253 GB, free: 11.84 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.005154/0.6475, allocations: 1.959 MB / 0.9272 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.6475, allocations: 0 / 0.9272 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001893/0.6494, allocations: 0.8503 MB / 0.928 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.6494, allocations: 11.98 kB / 0.928 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6495, allocations: 4 kB / 0.928 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6495, allocations: 4.094 kB / 0.928 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/0.6503, allocations: 167.8 kB / 0.9282 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.6503, allocations: 12 kB / 0.9282 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009049/0.6512, allocations: 90.88 kB / 0.9283 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.6513, allocations: 20 kB / 0.9283 GB, free: 8.668 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 (65): * Single equations (assignments): 65 * 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.0003608/0.6517, allocations: 282.9 kB / 0.9286 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.6518, allocations: 87.06 kB / 0.9286 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.652, allocations: 92.08 kB / 0.9287 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.652, allocations: 4 kB / 0.9287 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.652, allocations: 0 / 0.9287 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/0.6536, allocations: 0.6989 MB / 0.9294 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.6573, allocations: 1.927 MB / 0.9313 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6573, allocations: 8.031 kB / 0.9313 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.6581, allocations: 155.7 kB / 0.9315 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.6581, allocations: 4 kB / 0.9315 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.6581, allocations: 16 kB / 0.9315 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.6581, allocations: 7.938 kB / 0.9315 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6581, allocations: 4 kB / 0.9315 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.6606, allocations: 1.24 MB / 0.9327 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.6609, allocations: 240 kB / 0.9329 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.661, allocations: 8.688 kB / 0.9329 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.6619, allocations: 83.92 kB / 0.933 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.662, allocations: 43.83 kB / 0.9331 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.6621, allocations: 23.98 kB / 0.9331 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005868/0.6627, allocations: 0.5419 MB / 0.9336 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6627, allocations: 4 kB / 0.9336 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006874/0.6634, allocations: 240 kB / 0.9338 GB, free: 2.77 MB / 0.6387 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 (41): * Single equations (assignments): 41 * 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.003012/0.6664, allocations: 1.89 MB / 0.9357 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.6682, allocations: 0.7363 MB / 0.9364 GB, free: 88 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6682, allocations: 0.625 kB / 0.9364 GB, free: 88 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008289/0.669, allocations: 336.4 kB / 0.9367 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.6713, allocations: 0.5382 MB / 0.9373 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.6837, allocations: 7.79 MB / 0.9449 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.6842, allocations: 1.04 MB / 0.9459 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00081/0.685, allocations: 227 kB / 0.9461 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/0.6855, allocations: 319.3 kB / 0.9464 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.6855, allocations: 0 / 0.9464 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/0.7977, allocations: 25.21 MB / 0.971 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/0.7981, allocations: 314.2 kB / 0.9713 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.065, allocations: 4 kB / 0.9713 GB, free: 12.46 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)