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.001084/0.001084, allocations: 106.5 kB / 16.41 MB, free: 6.512 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.001067/0.001067, allocations: 187 kB / 17.34 MB, free: 5.742 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 300.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9247/0.9247, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4193, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6318/1.051, allocations: 221.1 MB / 0.9829 GB, free: 16.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008847/1.06, allocations: 5.725 MB / 0.9885 GB, free: 16.67 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/1.062, allocations: 42.84 kB / 0.9886 GB, free: 16.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/1.063, allocations: 0.5803 MB / 0.9891 GB, free: 16.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004779/1.068, allocations: 1.847 MB / 0.991 GB, free: 16.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/1.071, allocations: 1.193 MB / 0.9921 GB, free: 16.54 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003431/1.074, allocations: 2.958 MB / 0.995 GB, free: 16.54 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/1.076, allocations: 1.018 MB / 0.996 GB, free: 16.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/1.077, allocations: 1.093 MB / 0.9971 GB, free: 16.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/1.079, allocations: 0.9453 MB / 0.998 GB, free: 16.42 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/1.079, allocations: 105.5 kB / 0.9981 GB, free: 16.42 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/1.082, allocations: 1.426 MB / 0.9995 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000432/1.083, allocations: 467.2 kB / 0.9999 GB, free: 16.4 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007524/1.084, allocations: 0.6523 MB / 1.001 GB, free: 16.38 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/1.086, allocations: 2.144 MB / 1.003 GB, free: 16.12 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.086, allocations: 0 / 1.003 GB, free: 16.12 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/1.086, allocations: 1.062 kB / 1.003 GB, free: 16.12 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.52e-05/1.086, allocations: 0 / 1.003 GB, free: 16.12 MB / 0.7169 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.002078/1.088, allocations: 1.506 MB / 1.004 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/1.088, allocations: 11.12 kB / 1.004 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/1.09, allocations: 315.1 kB / 1.004 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/1.092, allocations: 0.8617 MB / 1.005 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/1.092, allocations: 61.94 kB / 1.005 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.092, allocations: 85.38 kB / 1.005 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/1.093, allocations: 0.918 MB / 1.006 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.093, allocations: 3.938 kB / 1.006 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/1.093, allocations: 41.09 kB / 1.006 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/1.093, allocations: 34.86 kB / 1.006 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/1.095, allocations: 0.8343 MB / 1.007 GB, free: 14.88 MB / 0.7169 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.004463/1.099, allocations: 3.51 MB / 1.011 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/1.1, allocations: 495.5 kB / 1.011 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/1.1, allocations: 296.8 kB / 1.011 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/1.1, allocations: 100.9 kB / 1.011 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/1.1, allocations: 43.59 kB / 1.012 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 2.334e-06/1.1, allocations: 0 / 1.012 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49): time 0.003153/1.104, allocations: 1.871 MB / 1.013 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/1.104, allocations: 57.69 kB / 1.013 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008156/1.104, allocations: 0.811 MB / 1.014 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/1.104, allocations: 41.11 kB / 1.014 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/1.105, allocations: 477.7 kB / 1.015 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.105, allocations: 175.3 kB / 1.015 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.105, allocations: 113.4 kB / 1.015 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.175e-05/1.105, allocations: 337 kB / 1.015 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/1.106, allocations: 245.5 kB / 1.016 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/1.106, allocations: 384.9 kB / 1.016 GB, free: 11.71 MB / 0.7169 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.003174/1.109, allocations: 1.545 MB / 1.017 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.109, allocations: 0.8125 kB / 1.017 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001066/1.11, allocations: 0.7905 MB / 1.018 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.11, allocations: 5.281 kB / 1.018 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.11, allocations: 4.312 kB / 1.018 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/1.111, allocations: 66.56 kB / 1.018 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/1.111, allocations: 149 kB / 1.018 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/1.113, allocations: 3.124 MB / 1.021 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/1.114, allocations: 27.97 kB / 1.021 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/1.114, allocations: 22.41 kB / 1.021 GB, free: 8.684 MB / 0.7169 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.000437/1.114, allocations: 302.2 kB / 1.022 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/1.114, allocations: 95.72 kB / 1.022 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/1.115, allocations: 99.09 kB / 1.022 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.115, allocations: 11.41 kB / 1.022 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.115, allocations: 0 / 1.022 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008914/1.116, allocations: 0.8379 MB / 1.023 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/1.118, allocations: 1.79 MB / 1.025 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.118, allocations: 4.031 kB / 1.025 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/1.119, allocations: 131.8 kB / 1.025 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.649e-05/1.119, allocations: 37.95 kB / 1.025 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/1.119, allocations: 16.8 kB / 1.025 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008877/1.12, allocations: 1.597 MB / 1.026 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.12, allocations: 10.84 kB / 1.026 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/1.121, allocations: 1.074 MB / 1.027 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/1.121, allocations: 242.2 kB / 1.028 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/1.121, allocations: 14.03 kB / 1.028 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/1.122, allocations: 30.33 kB / 1.028 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.122, allocations: 46.36 kB / 1.028 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.145e-05/1.122, allocations: 31.52 kB / 1.028 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000667/1.123, allocations: 0.5607 MB / 1.028 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.123, allocations: 0 / 1.028 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008078/1.124, allocations: 276.9 kB / 1.029 GB, free: 5.711 MB / 0.7169 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.0004108/1.124, allocations: 187.5 kB / 1.029 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001156/1.125, allocations: 0.8075 MB / 1.029 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/1.125, allocations: 3.688 kB / 1.029 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004966/1.126, allocations: 402.5 kB / 1.03 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/1.128, allocations: 0.6052 MB / 1.03 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/1.131, allocations: 1.858 MB / 1.032 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/1.131, allocations: 1.085 MB / 1.033 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/1.132, allocations: 73.69 kB / 1.033 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/1.132, allocations: 4 kB / 1.033 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of Templates: time 0.02573/1.157, allocations: 22.16 MB / 1.055 GB, free: 3.316 MB / 0.7325 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)