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.001569/0.001569, allocations: 111.5 kB / 16.41 MB, free: 6.453 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.001556/0.001556, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.43/1.43, 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.002592/0.002592, allocations: 294.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 103.8 kB / 0.6822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4464, allocations: 86.97 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6589/1.105, allocations: 221.6 MB / 0.9835 GB, free: 16.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00846/1.114, allocations: 5.733 MB / 0.9891 GB, free: 16.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/1.115, allocations: 43.28 kB / 0.9892 GB, free: 16.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/1.117, allocations: 0.6079 MB / 0.9898 GB, free: 16.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004151/1.121, allocations: 1.914 MB / 0.9916 GB, free: 16.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/1.123, allocations: 1.203 MB / 0.9928 GB, free: 16.55 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002748/1.126, allocations: 2.953 MB / 0.9957 GB, free: 16.54 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008478/1.127, allocations: 0.8563 MB / 0.9965 GB, free: 16.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/1.128, allocations: 1.116 MB / 0.9976 GB, free: 16.47 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/1.13, allocations: 0.9445 MB / 0.9986 GB, free: 16.47 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/1.13, allocations: 108.2 kB / 0.9987 GB, free: 16.47 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/1.132, allocations: 1.434 MB / 1 GB, free: 16.46 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003572/1.132, allocations: 480.3 kB / 1.001 GB, free: 16.45 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005423/1.133, allocations: 0.6554 MB / 1.001 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002111/1.135, allocations: 2.145 MB / 1.003 GB, free: 16.14 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.135, allocations: 0.9688 kB / 1.003 GB, free: 16.14 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/1.135, allocations: 0 / 1.003 GB, free: 16.14 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.53e-05/1.135, allocations: 0.9062 kB / 1.003 GB, free: 16.14 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.002005/1.137, allocations: 1.552 MB / 1.005 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/1.137, allocations: 11.12 kB / 1.005 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/1.139, allocations: 321.8 kB / 1.005 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.14, allocations: 0.8612 MB / 1.006 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/1.14, allocations: 68.53 kB / 1.006 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/1.14, allocations: 82.47 kB / 1.006 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/1.142, allocations: 0.9163 MB / 1.007 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.142, allocations: 7.875 kB / 1.007 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/1.142, allocations: 34.78 kB / 1.007 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/1.142, allocations: 33.25 kB / 1.007 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/1.143, allocations: 0.8382 MB / 1.008 GB, free: 14.85 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.004226/1.147, allocations: 3.524 MB / 1.011 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/1.148, allocations: 472 kB / 1.012 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/1.148, allocations: 277.6 kB / 1.012 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/1.148, allocations: 101.2 kB / 1.012 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/1.148, allocations: 46.62 kB / 1.012 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/1.148, allocations: 0 / 1.012 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49): time 0.002976/1.151, allocations: 1.887 MB / 1.014 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/1.151, allocations: 57.81 kB / 1.014 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/1.152, allocations: 0.8105 MB / 1.015 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/1.152, allocations: 39.95 kB / 1.015 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/1.152, allocations: 482.9 kB / 1.015 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/1.153, allocations: 181.5 kB / 1.016 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/1.153, allocations: 122.3 kB / 1.016 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.53e-05/1.153, allocations: 336.8 kB / 1.016 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/1.153, allocations: 241 kB / 1.016 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/1.154, allocations: 381.8 kB / 1.017 GB, free: 11.64 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.003305/1.157, allocations: 1.538 MB / 1.018 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.157, allocations: 3.438 kB / 1.018 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001191/1.158, allocations: 0.7926 MB / 1.019 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.158, allocations: 12.12 kB / 1.019 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.158, allocations: 5.875 kB / 1.019 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/1.158, allocations: 68.77 kB / 1.019 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/1.159, allocations: 145.9 kB / 1.019 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/1.161, allocations: 3.123 MB / 1.022 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009949/1.162, allocations: 26.34 kB / 1.022 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/1.162, allocations: 27.06 kB / 1.022 GB, free: 8.605 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.000531/1.162, allocations: 305.7 kB / 1.022 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/1.163, allocations: 103.5 kB / 1.023 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/1.163, allocations: 100.7 kB / 1.023 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.163, allocations: 3.281 kB / 1.023 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.163, allocations: 2.562 kB / 1.023 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009082/1.164, allocations: 0.8365 MB / 1.023 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/1.166, allocations: 1.788 MB / 1.025 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/1.166, allocations: 4.375 kB / 1.025 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/1.167, allocations: 134.3 kB / 1.025 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.802e-05/1.167, allocations: 35.55 kB / 1.025 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/1.167, allocations: 17.98 kB / 1.025 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008731/1.168, allocations: 1.598 MB / 1.027 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.168, allocations: 7.312 kB / 1.027 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/1.169, allocations: 1.072 MB / 1.028 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/1.17, allocations: 245.7 kB / 1.028 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.17, allocations: 13.44 kB / 1.028 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/1.171, allocations: 31.95 kB / 1.028 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.171, allocations: 45.33 kB / 1.028 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/1.171, allocations: 32.34 kB / 1.028 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006435/1.172, allocations: 0.5624 MB / 1.029 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.172, allocations: 0.5625 kB / 1.029 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008376/1.172, allocations: 270.6 kB / 1.029 GB, free: 5.625 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.0003978/1.173, allocations: 195.5 kB / 1.029 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001097/1.174, allocations: 0.7878 MB / 1.03 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.174, allocations: 0.9062 kB / 1.03 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004618/1.174, allocations: 400.3 kB / 1.03 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/1.177, allocations: 0.6049 MB / 1.031 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/1.179, allocations: 1.832 MB / 1.033 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/1.18, allocations: 1.086 MB / 1.034 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000756/1.181, allocations: 217 kB / 1.034 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/1.181, allocations: 69.97 kB / 1.034 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/1.181, allocations: 0 / 1.034 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of Templates: time 0.03258/1.214, allocations: 20.3 MB / 1.054 GB, free: 5.324 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)