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.001386/0.001386, 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.001642/0.001642, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 291.1 kB / 290.4 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9244/0.9244, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 98.95 kB / 0.5948 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1291, allocations: 86.98 MB / 0.6797 GB, free: 0.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4484/0.5775, allocations: 218.3 MB / 0.8929 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007943/0.5855, allocations: 5.69 MB / 0.8985 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5865, allocations: 38.41 kB / 0.8985 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.5878, allocations: 0.5088 MB / 0.899 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.5914, allocations: 1.737 MB / 0.9007 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.5938, allocations: 1.096 MB / 0.9018 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002808/0.5966, allocations: 2.946 MB / 0.9047 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.5977, allocations: 1.008 MB / 0.9056 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.5992, allocations: 1.062 MB / 0.9067 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.6011, allocations: 1.01 MB / 0.9077 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.6012, allocations: 108 kB / 0.9078 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.6038, allocations: 1.496 MB / 0.9092 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003985/0.6042, allocations: 474.7 kB / 0.9097 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005963/0.6048, allocations: 0.6495 MB / 0.9103 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.6071, allocations: 2.22 MB / 0.9125 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6071, allocations: 0 / 0.9125 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6071, allocations: 0 / 0.9125 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.6071, allocations: 0 / 0.9125 GB, free: 9.258 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.0021/0.6092, allocations: 1.504 MB / 0.9139 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.6093, allocations: 12.03 kB / 0.914 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.6095, allocations: 144.7 kB / 0.9141 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.6114, allocations: 322.1 kB / 0.9144 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.6125, allocations: 0.8124 MB / 0.9152 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.6125, allocations: 65.94 kB / 0.9153 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.6127, allocations: 87.91 kB / 0.9153 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6142, allocations: 0.917 MB / 0.9162 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.6142, allocations: 4 kB / 0.9162 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.6143, allocations: 40 kB / 0.9163 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.6143, allocations: 33.94 kB / 0.9163 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.6156, allocations: 0.8315 MB / 0.9171 GB, free: 4.383 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.00463/0.6203, allocations: 3.533 MB / 0.9206 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.621, allocations: 498.4 kB / 0.9211 GB, free: 140 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/0.6215, allocations: 298.8 kB / 0.9213 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.6216, allocations: 105.4 kB / 0.9214 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.6217, allocations: 46.94 kB / 0.9215 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.435e-06/0.6217, allocations: 0 / 0.9215 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003287/0.625, allocations: 1.872 MB / 0.9233 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.625, allocations: 55.84 kB / 0.9234 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008596/0.6259, allocations: 0.8058 MB / 0.9241 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.6259, allocations: 41.7 kB / 0.9242 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.6263, allocations: 475.3 kB / 0.9246 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.6264, allocations: 177.5 kB / 0.9248 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.6266, allocations: 110.2 kB / 0.9249 GB, free: 12 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6267, allocations: 334 kB / 0.9252 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.6271, allocations: 245.1 kB / 0.9255 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.6276, allocations: 386.5 kB / 0.9258 GB, free: 11.01 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.003486/0.6311, allocations: 1.545 MB / 0.9273 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6311, allocations: 0 / 0.9273 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001196/0.6323, allocations: 0.7961 MB / 0.9281 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6323, allocations: 11.94 kB / 0.9281 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.6323, allocations: 416 / 0.9281 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.6325, allocations: 77.7 kB / 0.9282 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.6332, allocations: 149.3 kB / 0.9284 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.6354, allocations: 3.131 MB / 0.9314 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008517/0.6362, allocations: 65.02 kB / 0.9315 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.6363, allocations: 20 kB / 0.9315 GB, free: 4.867 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.0003996/0.6367, allocations: 309.6 kB / 0.9318 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6368, allocations: 90.97 kB / 0.9319 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.637, allocations: 100.7 kB / 0.932 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.637, allocations: 4 kB / 0.932 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.637, allocations: 0 / 0.932 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009544/0.638, allocations: 0.8387 MB / 0.9328 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.6405, allocations: 1.807 MB / 0.9346 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6405, allocations: 4 kB / 0.9346 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.6411, allocations: 132.2 kB / 0.9347 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.382e-05/0.6412, allocations: 36.84 kB / 0.9347 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.6412, allocations: 15.98 kB / 0.9347 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.6423, allocations: 1.598 MB / 0.9363 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6423, allocations: 0 / 0.9363 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.6437, allocations: 1.072 MB / 0.9373 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.644, allocations: 236 kB / 0.9376 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.6441, allocations: 16 kB / 0.9376 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007428/0.6449, allocations: 63.86 kB / 0.9376 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.645, allocations: 39.89 kB / 0.9377 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.645, allocations: 31.98 kB / 0.9377 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006313/0.6457, allocations: 0.5615 MB / 0.9383 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6457, allocations: 0 / 0.9383 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007756/0.6464, allocations: 280 kB / 0.9385 GB, free: 13.25 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.001899/0.6484, allocations: 1.69 MB / 0.9402 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.6497, allocations: 0.8745 MB / 0.941 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6497, allocations: 0 / 0.941 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005445/0.6503, allocations: 411.9 kB / 0.9414 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.6528, allocations: 0.5986 MB / 0.942 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009708/0.6625, allocations: 7.645 MB / 0.9495 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.6631, allocations: 1.087 MB / 0.9505 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008358/0.6639, allocations: 215.7 kB / 0.9507 GB, free: 292 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004281/0.6644, allocations: 347.4 kB / 0.9511 GB, free: 15.94 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.6644, allocations: 0 / 0.9511 GB, free: 15.94 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08478/0.7492, allocations: 26.99 MB / 0.9774 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003541/0.7495, allocations: 315.4 kB / 0.9777 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.251, allocations: 2.344 kB / 0.9777 GB, free: 5.129 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)