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.001192/0.001192, allocations: 110.8 kB / 16.37 MB, free: 6.012 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.001181/0.001181, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 301.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8912/0.8912, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 98.36 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1464, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5008/0.6472, allocations: 221.1 MB / 0.8975 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008895/0.6561, allocations: 5.727 MB / 0.9031 GB, free: 11.5 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.6572, allocations: 39.81 kB / 0.9031 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.6586, allocations: 0.5747 MB / 0.9037 GB, free: 10.88 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.6624, allocations: 1.839 MB / 0.9055 GB, free: 9.031 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.6651, allocations: 1.188 MB / 0.9066 GB, free: 7.852 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003065/0.6681, allocations: 2.966 MB / 0.9095 GB, free: 4.883 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.6693, allocations: 1.023 MB / 0.9105 GB, free: 3.844 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.6707, allocations: 1.062 MB / 0.9116 GB, free: 2.777 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.6724, allocations: 0.9453 MB / 0.9125 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.6725, allocations: 104 kB / 0.9126 GB, free: 1.742 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.6749, allocations: 1.434 MB / 0.914 GB, free: 312 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000407/0.6753, allocations: 470.8 kB / 0.9144 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.6759, allocations: 0.6495 MB / 0.9151 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.6782, allocations: 2.134 MB / 0.9172 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6782, allocations: 0 / 0.9172 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6782, allocations: 0 / 0.9172 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.6782, allocations: 0 / 0.9172 GB, free: 13.05 MB / 0.6856 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.002163/0.6804, allocations: 1.5 MB / 0.9186 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.6804, allocations: 15.97 kB / 0.9186 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.6823, allocations: 318.2 kB / 0.919 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.6837, allocations: 0.8592 MB / 0.9198 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.6837, allocations: 62 kB / 0.9198 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.6838, allocations: 84 kB / 0.9199 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.6853, allocations: 0.9169 MB / 0.9208 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.6853, allocations: 3.906 kB / 0.9208 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.433e-05/0.6854, allocations: 40 kB / 0.9209 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.6854, allocations: 30 kB / 0.9209 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.6868, allocations: 0.847 MB / 0.9217 GB, free: 8.281 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.004916/0.6917, allocations: 3.505 MB / 0.9251 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.6924, allocations: 496.3 kB / 0.9256 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.6929, allocations: 300.8 kB / 0.9259 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.693, allocations: 105.5 kB / 0.926 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.6931, allocations: 43 kB / 0.926 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.284e-06/0.6931, allocations: 0 / 0.926 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.003238/0.6963, allocations: 1.868 MB / 0.9279 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.6964, allocations: 63.83 kB / 0.9279 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008704/0.6973, allocations: 0.8097 MB / 0.9287 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.6973, allocations: 37.7 kB / 0.9288 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.6976, allocations: 475.3 kB / 0.9292 GB, free: 232 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.6978, allocations: 177.5 kB / 0.9294 GB, free: 52 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.698, allocations: 114.3 kB / 0.9295 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6981, allocations: 330 kB / 0.9298 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.6986, allocations: 245.2 kB / 0.93 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.6991, allocations: 384.6 kB / 0.9304 GB, free: 14.94 MB / 0.7012 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.003468/0.7026, allocations: 1.54 MB / 0.9319 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7026, allocations: 4 kB / 0.9319 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001225/0.7038, allocations: 0.7922 MB / 0.9327 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.7038, allocations: 8.406 kB / 0.9327 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7039, allocations: 11.98 kB / 0.9327 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.704, allocations: 65.67 kB / 0.9328 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.7047, allocations: 151.8 kB / 0.9329 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.7072, allocations: 3.129 MB / 0.936 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/0.708, allocations: 25.3 kB / 0.936 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.708, allocations: 20 kB / 0.936 GB, free: 8.84 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.0004606/0.7085, allocations: 309.6 kB / 0.9363 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.7086, allocations: 94.97 kB / 0.9364 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.7088, allocations: 100.7 kB / 0.9365 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.7088, allocations: 4 kB / 0.9365 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.7088, allocations: 0 / 0.9365 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009614/0.7098, allocations: 0.8348 MB / 0.9373 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.7124, allocations: 1.798 MB / 0.9391 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.7125, allocations: 4 kB / 0.9391 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.713, allocations: 128.2 kB / 0.9392 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.361e-05/0.7131, allocations: 48.83 kB / 0.9392 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.7132, allocations: 12 kB / 0.9393 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.7144, allocations: 1.595 MB / 0.9408 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.7144, allocations: 11.88 kB / 0.9408 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.7158, allocations: 1.067 MB / 0.9419 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.7162, allocations: 235.8 kB / 0.9421 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7163, allocations: 16 kB / 0.9421 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.717, allocations: 38.31 kB / 0.9421 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.7171, allocations: 43.95 kB / 0.9422 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.7171, allocations: 27.98 kB / 0.9422 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006422/0.7178, allocations: 0.5576 MB / 0.9428 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7178, allocations: 0 / 0.9428 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007908/0.7186, allocations: 280 kB / 0.943 GB, free: 1.254 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.0004215/0.719, allocations: 183.3 kB / 0.9432 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.7202, allocations: 0.8122 MB / 0.944 GB, free: 240 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7202, allocations: 4 kB / 0.944 GB, free: 236 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.7208, allocations: 408.3 kB / 0.9444 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.723, allocations: 0.6001 MB / 0.945 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.7255, allocations: 1.8 MB / 0.9467 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.7262, allocations: 1.088 MB / 0.9478 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006709/0.7268, allocations: 223.7 kB / 0.948 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.727, allocations: 67.44 kB / 0.9481 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.727, allocations: 0 / 0.9481 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of Templates: time 0.2881/1.015, allocations: 20.02 MB / 0.9676 GB, free: 245.6 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)