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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 103.9 kB / 15.98 MB, free: 6.348 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.001337/0.001337, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.25/1.25, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001936/0.001936, allocations: 286 kB / 291 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8887/0.8887, allocations: 169.2 MB / 0.4985 GB, free: 4.664 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 89.7 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1582, allocations: 86.98 MB / 0.6803 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4782/0.6364, allocations: 218.3 MB / 0.8935 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008663/0.6451, allocations: 5.69 MB / 0.899 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.6466, allocations: 39.75 kB / 0.8991 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.6482, allocations: 0.5092 MB / 0.8996 GB, free: 14.74 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.6525, allocations: 1.739 MB / 0.9012 GB, free: 13 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.6553, allocations: 1.09 MB / 0.9023 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003357/0.6587, allocations: 2.937 MB / 0.9052 GB, free: 8.969 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.6601, allocations: 1.015 MB / 0.9062 GB, free: 7.938 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.662, allocations: 1.066 MB / 0.9072 GB, free: 6.867 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.6647, allocations: 1.02 MB / 0.9082 GB, free: 5.859 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003516/0.6651, allocations: 108 kB / 0.9083 GB, free: 5.754 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.6685, allocations: 1.5 MB / 0.9098 GB, free: 4.25 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007658/0.6693, allocations: 462.8 kB / 0.9102 GB, free: 3.797 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.6708, allocations: 0.6534 MB / 0.9109 GB, free: 3.141 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.6735, allocations: 1.621 MB / 0.9124 GB, free: 1.516 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.6735, allocations: 4 kB / 0.9124 GB, free: 1.512 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.225e-06/0.6735, allocations: 0 / 0.9124 GB, free: 1.512 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.472e-05/0.6736, allocations: 4 kB / 0.9124 GB, free: 1.508 MB / 0.67 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.003671/0.6773, allocations: 1.506 MB / 0.9139 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.6774, allocations: 12.03 kB / 0.9139 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.6797, allocations: 318.2 kB / 0.9142 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.6816, allocations: 0.8084 MB / 0.915 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.6817, allocations: 66 kB / 0.9151 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.6819, allocations: 84 kB / 0.9152 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.6839, allocations: 0.9287 MB / 0.9161 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.6839, allocations: 0 / 0.9161 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.6841, allocations: 36 kB / 0.9161 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/0.6841, allocations: 30 kB / 0.9161 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.6856, allocations: 0.8392 MB / 0.917 GB, free: 12.79 MB / 0.6856 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.005444/0.6911, allocations: 3.533 MB / 0.9204 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.6918, allocations: 488.4 kB / 0.9209 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.6923, allocations: 295 kB / 0.9212 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.6925, allocations: 105.5 kB / 0.9213 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.6925, allocations: 42.98 kB / 0.9213 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/0.6925, allocations: 4 kB / 0.9213 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.003515/0.696, allocations: 1.876 MB / 0.9231 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.6961, allocations: 59.84 kB / 0.9232 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009031/0.697, allocations: 0.8135 MB / 0.924 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.607e-05/0.6971, allocations: 37.7 kB / 0.924 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.6974, allocations: 475.3 kB / 0.9245 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.6975, allocations: 177.5 kB / 0.9246 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.6977, allocations: 118.2 kB / 0.9248 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.6978, allocations: 326 kB / 0.9251 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.6982, allocations: 245.2 kB / 0.9253 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.6987, allocations: 380.7 kB / 0.9257 GB, free: 3.426 MB / 0.6856 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.003513/0.7023, allocations: 1.553 MB / 0.9272 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.7023, allocations: 8 kB / 0.9272 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001234/0.7035, allocations: 0.7883 MB / 0.928 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7035, allocations: 8.406 kB / 0.928 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.7036, allocations: 12.03 kB / 0.928 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.7037, allocations: 73.55 kB / 0.928 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.7044, allocations: 147.8 kB / 0.9282 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.7068, allocations: 3.121 MB / 0.9312 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/0.7077, allocations: 66.2 kB / 0.9313 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.7078, allocations: 35.94 kB / 0.9313 GB, free: 13.27 MB / 0.7012 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.0004403/0.7082, allocations: 301.6 kB / 0.9316 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.7084, allocations: 86.97 kB / 0.9317 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.7086, allocations: 100.7 kB / 0.9318 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7086, allocations: 8 kB / 0.9318 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7086, allocations: 0 / 0.9318 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009895/0.7096, allocations: 0.8349 MB / 0.9326 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/0.7124, allocations: 1.79 MB / 0.9344 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7124, allocations: 4.406 kB / 0.9344 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.713, allocations: 135.8 kB / 0.9345 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.125e-05/0.7131, allocations: 40.77 kB / 0.9345 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.7132, allocations: 16 kB / 0.9346 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.7143, allocations: 1.595 MB / 0.9361 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.7143, allocations: 11.92 kB / 0.9361 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.7158, allocations: 1.06 MB / 0.9372 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.7162, allocations: 239.9 kB / 0.9374 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.7163, allocations: 12.06 kB / 0.9374 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/0.7171, allocations: 63.8 kB / 0.9375 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.7172, allocations: 39.89 kB / 0.9375 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.7173, allocations: 27.98 kB / 0.9375 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006859/0.718, allocations: 0.5654 MB / 0.9381 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.718, allocations: 0 / 0.9381 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008394/0.7189, allocations: 276 kB / 0.9383 GB, free: 5.676 MB / 0.7012 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.0004331/0.7193, allocations: 203.2 kB / 0.9385 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.7207, allocations: 0.8667 MB / 0.9394 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.7207, allocations: 4 kB / 0.9394 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.7212, allocations: 412.8 kB / 0.9398 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.7237, allocations: 0.6008 MB / 0.9404 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.7267, allocations: 2.228 MB / 0.9425 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.7273, allocations: 1.088 MB / 0.9436 GB, free: 160 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.7275, allocations: 71.44 kB / 0.9437 GB, free: 88 kB / 0.7012 GB Notification: Performance of SimCode: time 5e-07/0.7275, allocations: 0 / 0.9437 GB, free: 88 kB / 0.7012 GB Notification: Performance of Templates: time 0.2749/1.002, allocations: 21.93 MB / 0.9651 GB, free: 248.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)