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.001361/0.001361, 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.001616/0.001616, allocations: 191 kB / 16.14 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.306/1.306, 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.002049/0.002049, allocations: 287.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.924/0.924, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 95.48 kB / 0.5946 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 86.99 MB / 0.6796 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.462/0.5965, allocations: 218.8 MB / 0.8933 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008573/0.6051, allocations: 5.8 MB / 0.8989 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.6065, allocations: 31.72 kB / 0.899 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.6078, allocations: 0.4963 MB / 0.8994 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.6113, allocations: 1.529 MB / 0.9009 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.6139, allocations: 1.101 MB / 0.902 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003108/0.617, allocations: 3.542 MB / 0.9055 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009261/0.618, allocations: 0.7608 MB / 0.9062 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.6194, allocations: 0.9258 MB / 0.9071 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.6213, allocations: 0.8738 MB / 0.908 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.6214, allocations: 48 kB / 0.908 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.6242, allocations: 1.722 MB / 0.9097 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.6246, allocations: 362.9 kB / 0.91 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005299/0.6251, allocations: 0.5403 MB / 0.9106 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.6273, allocations: 2.041 MB / 0.9126 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6273, allocations: 0 / 0.9126 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.22e-07/0.6273, allocations: 0 / 0.9126 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.6273, allocations: 4 kB / 0.9126 GB, free: 9.312 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.002135/0.6294, allocations: 1.423 MB / 0.914 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.6295, allocations: 12.03 kB / 0.914 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.6296, allocations: 126.6 kB / 0.9141 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.6323, allocations: 422.2 kB / 0.9145 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.6336, allocations: 0.7648 MB / 0.9152 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/0.6339, allocations: 113.9 kB / 0.9153 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.6341, allocations: 79.92 kB / 0.9154 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.6359, allocations: 0.9984 MB / 0.9164 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.6359, allocations: 7.984 kB / 0.9164 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.636, allocations: 32 kB / 0.9164 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.6361, allocations: 29.94 kB / 0.9165 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.638, allocations: 0.8939 MB / 0.9173 GB, free: 4.301 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.005603/0.6436, allocations: 3.501 MB / 0.9208 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.6453, allocations: 0.6133 MB / 0.9214 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008029/0.6461, allocations: 349.2 kB / 0.9217 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.6463, allocations: 101 kB / 0.9218 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.6463, allocations: 42.5 kB / 0.9218 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.555e-06/0.6464, allocations: 0 / 0.9218 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.0049/0.6513, allocations: 1.924 MB / 0.9237 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.6513, allocations: 59.39 kB / 0.9238 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009053/0.6522, allocations: 0.7745 MB / 0.9245 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.6523, allocations: 37.7 kB / 0.9245 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.6526, allocations: 455.4 kB / 0.925 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.6527, allocations: 142 kB / 0.9251 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.6529, allocations: 114.1 kB / 0.9252 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.653, allocations: 329.9 kB / 0.9255 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007821/0.6538, allocations: 312.9 kB / 0.9258 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008546/0.6547, allocations: 451.5 kB / 0.9263 GB, free: 10.78 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.00524/0.6599, allocations: 1.947 MB / 0.9282 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6599, allocations: 4 kB / 0.9282 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001851/0.6618, allocations: 0.8542 MB / 0.929 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.6618, allocations: 4 kB / 0.929 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.6618, allocations: 7.938 kB / 0.929 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6619, allocations: 8 kB / 0.929 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/0.6627, allocations: 163.9 kB / 0.9292 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.6627, allocations: 11.92 kB / 0.9292 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009307/0.6637, allocations: 99.08 kB / 0.9293 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.6637, allocations: 20 kB / 0.9293 GB, free: 7.602 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.0003656/0.6641, allocations: 287.8 kB / 0.9296 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.6642, allocations: 83.06 kB / 0.9297 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.6644, allocations: 92.09 kB / 0.9298 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6644, allocations: 4 kB / 0.9298 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6644, allocations: 7.984 kB / 0.9298 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/0.666, allocations: 0.6911 MB / 0.9304 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.6698, allocations: 1.934 MB / 0.9323 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6698, allocations: 0 / 0.9323 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/0.6706, allocations: 148.2 kB / 0.9325 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6706, allocations: 7.938 kB / 0.9325 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.6706, allocations: 16 kB / 0.9325 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.6707, allocations: 11.92 kB / 0.9325 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6707, allocations: 4 kB / 0.9325 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.6732, allocations: 1.236 MB / 0.9337 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.6735, allocations: 244 kB / 0.9339 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6736, allocations: 12 kB / 0.934 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/0.6745, allocations: 87.91 kB / 0.934 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.6746, allocations: 35.84 kB / 0.9341 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/0.6747, allocations: 31.98 kB / 0.9341 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006069/0.6753, allocations: 0.5419 MB / 0.9346 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6753, allocations: 0 / 0.9346 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007495/0.6761, allocations: 252 kB / 0.9349 GB, free: 1.691 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.003084/0.6791, allocations: 1.882 MB / 0.9367 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.6808, allocations: 0.6856 MB / 0.9374 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6809, allocations: 3.938 kB / 0.9374 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008044/0.6817, allocations: 341 kB / 0.9377 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.6839, allocations: 0.5101 MB / 0.9382 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.6965, allocations: 7.783 MB / 0.9458 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.6971, allocations: 1.036 MB / 0.9468 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008615/0.6979, allocations: 231 kB / 0.947 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.6984, allocations: 319.3 kB / 0.9473 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.6984, allocations: 0 / 0.9473 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.7384, allocations: 24.49 MB / 0.9713 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/0.7387, allocations: 316.4 kB / 0.9716 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.946, allocations: 0 / 0.9716 GB, free: 12.13 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)