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.001472/0.001472, allocations: 108.8 kB / 16.41 MB, free: 6.355 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.001367/0.001367, allocations: 189.8 kB / 17.34 MB, free: 5.68 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002238/0.002238, allocations: 289.4 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.9609/0.9609, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 95.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.404, allocations: 86.96 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6525/1.057, allocations: 221.1 MB / 0.983 GB, free: 16.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008751/1.065, allocations: 5.723 MB / 0.9885 GB, free: 16.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/1.067, allocations: 43.25 kB / 0.9886 GB, free: 16.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/1.069, allocations: 0.5737 MB / 0.9891 GB, free: 16.65 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00475/1.073, allocations: 1.841 MB / 0.9909 GB, free: 16.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/1.076, allocations: 1.197 MB / 0.9921 GB, free: 16.54 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003689/1.08, allocations: 2.953 MB / 0.995 GB, free: 16.53 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/1.082, allocations: 1.022 MB / 0.996 GB, free: 16.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/1.084, allocations: 1.091 MB / 0.9971 GB, free: 16.42 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/1.086, allocations: 0.9475 MB / 0.998 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002686/1.086, allocations: 111.4 kB / 0.9981 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/1.089, allocations: 1.425 MB / 0.9995 GB, free: 16.4 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005292/1.09, allocations: 466.9 kB / 0.9999 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/1.091, allocations: 0.6519 MB / 1.001 GB, free: 16.38 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003536/1.094, allocations: 2.143 MB / 1.003 GB, free: 16.12 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.094, allocations: 1.031 kB / 1.003 GB, free: 16.12 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/1.094, allocations: 0 / 1.003 GB, free: 16.12 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.856e-05/1.094, 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.002438/1.097, allocations: 1.505 MB / 1.004 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.097, allocations: 13.41 kB / 1.004 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/1.099, allocations: 313.6 kB / 1.004 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/1.1, allocations: 0.862 MB / 1.005 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/1.1, allocations: 68.22 kB / 1.005 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/1.101, allocations: 83.66 kB / 1.005 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/1.102, allocations: 0.9146 MB / 1.006 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/1.102, allocations: 3.938 kB / 1.006 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-05/1.102, allocations: 38.06 kB / 1.006 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/1.102, allocations: 30.06 kB / 1.006 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/1.103, allocations: 0.8321 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.004789/1.108, allocations: 3.509 MB / 1.011 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/1.109, allocations: 495.3 kB / 1.011 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/1.109, allocations: 295.7 kB / 1.011 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/1.109, allocations: 106.3 kB / 1.011 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.109, allocations: 41.62 kB / 1.012 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 2.345e-06/1.11, allocations: 0.9375 kB / 1.012 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49): time 0.003355/1.113, allocations: 1.873 MB / 1.013 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/1.113, allocations: 59.5 kB / 1.013 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008299/1.114, allocations: 0.8057 MB / 1.014 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/1.114, allocations: 36.14 kB / 1.014 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/1.114, allocations: 485.2 kB / 1.015 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/1.114, allocations: 178.7 kB / 1.015 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/1.114, allocations: 118 kB / 1.015 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/1.115, allocations: 332.9 kB / 1.015 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/1.115, allocations: 250.1 kB / 1.016 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/1.115, allocations: 382.9 kB / 1.016 GB, free: 11.7 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.003221/1.119, allocations: 1.54 MB / 1.017 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.119, allocations: 2.781 kB / 1.017 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001236/1.12, allocations: 0.7862 MB / 1.018 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.12, allocations: 8.938 kB / 1.018 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.12, allocations: 3.438 kB / 1.018 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/1.12, allocations: 65.53 kB / 1.018 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/1.121, allocations: 152.6 kB / 1.018 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/1.123, allocations: 3.119 MB / 1.021 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009084/1.123, allocations: 30.55 kB / 1.021 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/1.124, allocations: 20.44 kB / 1.021 GB, free: 8.676 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.0004493/1.124, allocations: 305.1 kB / 1.022 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/1.124, allocations: 99.59 kB / 1.022 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/1.124, allocations: 102.1 kB / 1.022 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.124, allocations: 4.281 kB / 1.022 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.124, allocations: 0 / 1.022 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008509/1.125, allocations: 0.8318 MB / 1.023 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1.128, allocations: 1.802 MB / 1.025 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.128, allocations: 6.781 kB / 1.025 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/1.128, allocations: 128.9 kB / 1.025 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.657e-05/1.128, allocations: 44.84 kB / 1.025 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/1.129, allocations: 15.23 kB / 1.025 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000913/1.129, allocations: 1.588 MB / 1.026 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.129, allocations: 10.03 kB / 1.026 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/1.131, allocations: 1.066 MB / 1.027 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/1.131, allocations: 237.3 kB / 1.028 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.131, allocations: 18.05 kB / 1.028 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/1.132, allocations: 38.86 kB / 1.028 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/1.132, allocations: 46.2 kB / 1.028 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/1.132, allocations: 28.05 kB / 1.028 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006699/1.133, allocations: 0.5594 MB / 1.028 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.133, allocations: 0.9375 kB / 1.028 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008788/1.134, allocations: 273.5 kB / 1.028 GB, free: 5.707 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.0004002/1.134, allocations: 194.7 kB / 1.029 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001211/1.136, allocations: 0.8076 MB / 1.029 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.136, allocations: 3.375 kB / 1.029 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004863/1.136, allocations: 409.2 kB / 1.03 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/1.139, allocations: 0.5994 MB / 1.03 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/1.141, allocations: 1.864 MB / 1.032 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/1.142, allocations: 1.085 MB / 1.033 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/1.142, allocations: 73.08 kB / 1.033 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/1.142, allocations: 3.938 kB / 1.033 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of Templates: time 0.02728/1.169, allocations: 22.04 MB / 1.055 GB, free: 3.453 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)